Enum OpenJDKInstaller.OpenJDKPackage
- java.lang.Object
-
- java.lang.Enum<OpenJDKInstaller.OpenJDKPackage>
-
- org.jenkinsci.plugins.openjdk_native.OpenJDKInstaller.OpenJDKPackage
-
- All Implemented Interfaces:
Serializable
,Comparable<OpenJDKInstaller.OpenJDKPackage>
- Enclosing class:
- OpenJDKInstaller
public static enum OpenJDKInstaller.OpenJDKPackage extends Enum<OpenJDKInstaller.OpenJDKPackage>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDevelPackageName()
String
getJreName()
String
getName()
String
getPackageName()
static OpenJDKInstaller.OpenJDKPackage
valueOf(String name)
Returns the enum constant of this type with the specified name.static OpenJDKInstaller.OpenJDKPackage[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
openJDK21
public static final OpenJDKInstaller.OpenJDKPackage openJDK21
-
openJDK17
public static final OpenJDKInstaller.OpenJDKPackage openJDK17
-
openJDK13
public static final OpenJDKInstaller.OpenJDKPackage openJDK13
-
openJDK11
public static final OpenJDKInstaller.OpenJDKPackage openJDK11
-
openJDK8
public static final OpenJDKInstaller.OpenJDKPackage openJDK8
-
openJDK7
public static final OpenJDKInstaller.OpenJDKPackage openJDK7
-
openJDK6
public static final OpenJDKInstaller.OpenJDKPackage openJDK6
-
-
Method Detail
-
values
public static OpenJDKInstaller.OpenJDKPackage[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OpenJDKInstaller.OpenJDKPackage c : OpenJDKInstaller.OpenJDKPackage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpenJDKInstaller.OpenJDKPackage valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
public String getName()
-
getPackageName
public String getPackageName()
-
getDevelPackageName
public String getDevelPackageName()
-
getJreName
public String getJreName()
-
-