Serializable
, Comparable<JavaSystemSetting>
, SystemSetting
public enum JavaSystemSetting extends Enum<JavaSystemSetting> implements SystemSetting
Enum Constant | Description |
---|---|
JAVA_VERSION |
|
JAVA_VM_NAME |
|
JAVA_VM_VERSION |
|
OS_NAME |
|
OS_VERSION |
|
TEMP_DIRECTORY |
|
USER_HOME |
|
USER_LANGUAGE |
|
USER_REGION |
Modifier and Type | Method | Description |
---|---|---|
String |
defaultValue() |
The default value of the setting (or empty if there is no default).
|
String |
environmentVariable() |
The environment variable of the setting (or null if there is no environment variable for this setting).
|
String |
property() |
The system property of the setting (or null if there is no property for this setting).
|
static JavaSystemSetting |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static JavaSystemSetting[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getBooleanValue, getBooleanValueOrThrow, getStringValue, getStringValueOrThrow
public static final JavaSystemSetting JAVA_VERSION
public static final JavaSystemSetting TEMP_DIRECTORY
public static final JavaSystemSetting JAVA_VM_NAME
public static final JavaSystemSetting JAVA_VM_VERSION
public static final JavaSystemSetting OS_NAME
public static final JavaSystemSetting OS_VERSION
public static final JavaSystemSetting USER_HOME
public static final JavaSystemSetting USER_LANGUAGE
public static final JavaSystemSetting USER_REGION
public static JavaSystemSetting[] values()
for (JavaSystemSetting c : JavaSystemSetting.values()) System.out.println(c);
public static JavaSystemSetting valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String property()
SystemSetting
property
in interface SystemSetting
public String environmentVariable()
SystemSetting
environmentVariable
in interface SystemSetting
public String defaultValue()
SystemSetting
defaultValue
in interface SystemSetting
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.