Package com.tenio.core.monitoring.define
Enum Class SystemInfoType
- All Implemented Interfaces:
Serializable
,Comparable<SystemInfoType>
,Constable
All OS system and Java environment information flags.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe Java IO temporary directory.The Java vendor.The Java vendor URL.The Java version.The Java Virtual Machine name.The Java Virtual Machine specification version.The Java Virtual Machine vendor.The Java Virtual Machine version.The OS architecture.The OS name.The OS version. -
Method Summary
Modifier and TypeMethodDescriptionfinal String
getValue()
Retrieves flag's name.toString()
static SystemInfoType
Returns the enum constant of this class with the specified name.static SystemInfoType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OS_NAME
The OS name. -
OS_ARCH
The OS architecture. -
OS_VERSION
The OS version. -
JAVA_VERSION
The Java version. -
JAVA_VENDOR
The Java vendor. -
JAVA_VENDOR_URL
The Java vendor URL. -
JAVA_VM_SPEC_VERSION
The Java Virtual Machine specification version. -
JAVA_VM_VERSION
The Java Virtual Machine version. -
JAVA_VM_VENDOR
The Java Virtual Machine vendor. -
JAVA_VM_NAME
The Java Virtual Machine name. -
JAVA_IO_TMPDIR
The Java IO temporary directory.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
Retrieves flag's name.- Returns:
- the
String
flag's name
-
toString
- Overrides:
toString
in classEnum<SystemInfoType>
-