Enum OpenshiftBaseJavaImage
- java.lang.Object
-
- java.lang.Enum<OpenshiftBaseJavaImage>
-
- io.quarkus.container.image.openshift.deployment.OpenshiftBaseJavaImage
-
- All Implemented Interfaces:
Serializable,Comparable<OpenshiftBaseJavaImage>
public enum OpenshiftBaseJavaImage extends Enum<OpenshiftBaseJavaImage>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FABRIC8OPENJ9_11_RHEL7OPENJ9_11_RHEL8OPENJ9_8_RHEL7OPENJ9_8_RHEL8OPENJDK_11_RHEL7OPENJDK_11_RHEL8OPENJDK_8_RHEL7OPENJDK_8_RHEL8
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Optional<OpenshiftBaseJavaImage>findMatching(String image)StringgetClasspathEnvVar()StringgetImage()StringgetJarDirectory()StringgetJarEnvVar()StringgetJarLibEnvVar()StringgetJavaMainClassEnvVar()StringgetJvmOptionsEnvVar()static OpenshiftBaseJavaImagevalueOf(String name)Returns the enum constant of this type with the specified name.static OpenshiftBaseJavaImage[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FABRIC8
public static final OpenshiftBaseJavaImage FABRIC8
-
OPENJDK_8_RHEL7
public static final OpenshiftBaseJavaImage OPENJDK_8_RHEL7
-
OPENJDK_8_RHEL8
public static final OpenshiftBaseJavaImage OPENJDK_8_RHEL8
-
OPENJDK_11_RHEL7
public static final OpenshiftBaseJavaImage OPENJDK_11_RHEL7
-
OPENJDK_11_RHEL8
public static final OpenshiftBaseJavaImage OPENJDK_11_RHEL8
-
OPENJ9_8_RHEL7
public static final OpenshiftBaseJavaImage OPENJ9_8_RHEL7
-
OPENJ9_8_RHEL8
public static final OpenshiftBaseJavaImage OPENJ9_8_RHEL8
-
OPENJ9_11_RHEL7
public static final OpenshiftBaseJavaImage OPENJ9_11_RHEL7
-
OPENJ9_11_RHEL8
public static final OpenshiftBaseJavaImage OPENJ9_11_RHEL8
-
-
Method Detail
-
values
public static OpenshiftBaseJavaImage[] 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 (OpenshiftBaseJavaImage c : OpenshiftBaseJavaImage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpenshiftBaseJavaImage 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
-
findMatching
public static Optional<OpenshiftBaseJavaImage> findMatching(String image)
-
getImage
public String getImage()
-
getJarDirectory
public String getJarDirectory()
-
getJavaMainClassEnvVar
public String getJavaMainClassEnvVar()
-
getJvmOptionsEnvVar
public String getJvmOptionsEnvVar()
-
getClasspathEnvVar
public String getClasspathEnvVar()
-
getJarLibEnvVar
public String getJarLibEnvVar()
-
getJarEnvVar
public String getJarEnvVar()
-
-