public enum JdkVersion extends java.lang.Enum<JdkVersion>
| Modifier and Type | Field and Description | 
|---|---|
static JdkVersion | 
DEFAULT_OPTION  | 
| 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_11
public static final JdkVersion JDK_17
public static final JdkVersion DEFAULT_OPTION
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()