Package org.openjdk.jmc.agent.util
Enum VersionUtils.JFRVersion
- java.lang.Object
-
- java.lang.Enum<VersionUtils.JFRVersion>
-
- org.openjdk.jmc.agent.util.VersionUtils.JFRVersion
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<VersionUtils.JFRVersion>
- Enclosing class:
- VersionUtils
public static enum VersionUtils.JFRVersion extends java.lang.Enum<VersionUtils.JFRVersion>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
JFRVersion()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VersionUtils.JFRVersion
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VersionUtils.JFRVersion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JFR
public static final VersionUtils.JFRVersion JFR
-
JFRNEXT
public static final VersionUtils.JFRVersion JFRNEXT
-
NONE
public static final VersionUtils.JFRVersion NONE
-
-
Method Detail
-
values
public static VersionUtils.JFRVersion[] 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 (VersionUtils.JFRVersion c : VersionUtils.JFRVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VersionUtils.JFRVersion valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-