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 SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static JavaRuntimeUtils.JreVersionvalueOf(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- 
Unsupportedpublic static final JavaRuntimeUtils.JreVersion Unsupported This version of the JRE is not supported.
 - 
Java_7public static final JavaRuntimeUtils.JreVersion Java_7 Java 7
 - 
Java_8public static final JavaRuntimeUtils.JreVersion Java_8 Java 8
 - 
Java_9public static final JavaRuntimeUtils.JreVersion Java_9 Java 9
 - 
Java_11public static final JavaRuntimeUtils.JreVersion Java_11 Java 11
 - 
Java_17public static final JavaRuntimeUtils.JreVersion Java_17 Java 17
 - 
Java_21public static final JavaRuntimeUtils.JreVersion Java_21 Java 21
 - 
Unknownpublic static final JavaRuntimeUtils.JreVersion Unknown Unknown version, may not be supported.
 
- 
 - 
Method Detail- 
valuespublic 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
 
 - 
valueOfpublic 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 name
- NullPointerException- if the argument is null
 
 
- 
 
-