public enum JdkVersion extends java.lang.Enum<JdkVersion>
| Enum Constant and Description | 
|---|
JDK_10  | 
JDK_11  | 
JDK_12  | 
JDK_13  | 
JDK_14  | 
JDK_15  | 
JDK_8  | 
JDK_9  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
majorVersion()  | 
static JdkVersion | 
valueOf(int majorVersion)  | 
static JdkVersion | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static JdkVersion[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final JdkVersion JDK_8
public static final JdkVersion JDK_9
public static final JdkVersion JDK_10
public static final JdkVersion JDK_11
public static final JdkVersion JDK_12
public static final JdkVersion JDK_13
public static final JdkVersion JDK_14
public static final JdkVersion JDK_15
public static JdkVersion[] values()
for (JdkVersion c : JdkVersion.values()) System.out.println(c);
public static JdkVersion 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 JdkVersion valueOf(int majorVersion)
public int majorVersion()