Serializable, Comparable<JavaSystemSetting>, SystemSettingpublic 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, valueOfgetBooleanValue, getBooleanValueOrThrow, getStringValue, getStringValueOrThrowpublic 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()
SystemSettingproperty in interface SystemSettingpublic String environmentVariable()
SystemSettingenvironmentVariable in interface SystemSettingpublic String defaultValue()
SystemSettingdefaultValue in interface SystemSettingCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.