public enum JavaVerifier extends java.lang.Enum<JavaVerifier>
Modifier and Type | Method and Description |
---|---|
org.osgi.framework.Version |
getJavaVersion() |
boolean |
isJavaCompatible() |
static org.osgi.framework.Version |
parseJavaVersion(java.lang.String value) |
static JavaVerifier |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JavaVerifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
verify() |
public static final JavaVerifier JAVA_5
public static final JavaVerifier JAVA_6
public static final JavaVerifier JAVA_7
public static final JavaVerifier JAVA_8
public static JavaVerifier[] values()
for (JavaVerifier c : JavaVerifier.values()) System.out.println(c);
public static JavaVerifier valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static org.osgi.framework.Version parseJavaVersion(java.lang.String value)
public boolean isJavaCompatible()
public void verify() throws JavaVerificationException
JavaVerificationException
public org.osgi.framework.Version getJavaVersion()