public enum RuntimeVersion extends java.lang.Enum<RuntimeVersion>
Modifier and Type | Method and Description |
---|---|
static RuntimeVersion |
getVersionFor(java.lang.String version) |
boolean |
isThisVersionOrLater(RuntimeVersion version) |
static RuntimeVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RuntimeVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuntimeVersion V1_2
public static final RuntimeVersion V1_5
public static final RuntimeVersion V1_6_10
public static final RuntimeVersion V1_9
public static RuntimeVersion[] values()
for (RuntimeVersion c : RuntimeVersion.values()) System.out.println(c);
public static RuntimeVersion 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 RuntimeVersion getVersionFor(java.lang.String version)
public boolean isThisVersionOrLater(RuntimeVersion version)