Package com.oracle.bmc.util
Enum JavaRuntimeUtils.JreVersion
- java.lang.Object
-
- java.lang.Enum<JavaRuntimeUtils.JreVersion>
-
- com.oracle.bmc.util.JavaRuntimeUtils.JreVersion
-
- All Implemented Interfaces:
Serializable
,Comparable<JavaRuntimeUtils.JreVersion>
- Enclosing class:
- JavaRuntimeUtils
public static enum JavaRuntimeUtils.JreVersion extends Enum<JavaRuntimeUtils.JreVersion>
JRE version as interpreted by the SDK.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JavaRuntimeUtils.JreVersion
valueOf(String name)
Returns the enum constant of this type with the specified name.static JavaRuntimeUtils.JreVersion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Unsupported
public static final JavaRuntimeUtils.JreVersion Unsupported
This version of the JRE is not supported.
-
Java_7
public static final JavaRuntimeUtils.JreVersion Java_7
Java 7
-
Java_8
public static final JavaRuntimeUtils.JreVersion Java_8
Java 8
-
Java_9
public static final JavaRuntimeUtils.JreVersion Java_9
Java 9
-
Java_11
public static final JavaRuntimeUtils.JreVersion Java_11
Java 11
-
Java_17
public static final JavaRuntimeUtils.JreVersion Java_17
Java 17
-
Java_21
public static final JavaRuntimeUtils.JreVersion Java_21
Java 21
-
Unknown
public static final JavaRuntimeUtils.JreVersion Unknown
Unknown version, may not be supported.
-
-
Method Detail
-
values
public static JavaRuntimeUtils.JreVersion[] 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 (JavaRuntimeUtils.JreVersion c : JavaRuntimeUtils.JreVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JavaRuntimeUtils.JreVersion 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
-
-