|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.schmant.project.eclipse.JdkCompliance
public class JdkCompliance
This immutable object contains information on the JDK compliance for an Eclipse workspace or for a single Java project.
Constructor Summary | |
---|---|
JdkCompliance(JdkVersion compilerCompliance,
JdkVersion generatedClassFile,
JdkVersion source)
Create a new Eclipse workspace / project JDK compliance object. |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
JdkVersion |
getCompilerComplianceLevel()
Get the compiler compliance level. |
JdkVersion |
getGeneratedClassFileCompatibility()
Get the generated class file compatibility level. |
JdkVersion |
getSourceCompatibility()
Get the source code compatibility level. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JdkCompliance(JdkVersion compilerCompliance, JdkVersion generatedClassFile, JdkVersion source) throws IllegalArgumentException
compilerCompliance
- The compiler compliance level.generatedClassFile
- The generated class file compliance level.
This must be at least as high as the compiler compliance level.source
- The source code compatibility level. This must be at most
the compiler compliance level.
IllegalArgumentException
- If the generated class file level is
lower than or if the source code level is higher than the compiler
compliance level.Method Detail |
---|
public JdkVersion getCompilerComplianceLevel()
public JdkVersion getGeneratedClassFileCompatibility()
public JdkVersion getSourceCompatibility()
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Object
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |