public enum JavaSystemSetting extends Enum<JavaSystemSetting> implements SystemSetting
Enum Constant and Description |
---|
JAVA_VENDOR |
JAVA_VERSION |
JAVA_VM_NAME |
JAVA_VM_VERSION |
OS_NAME |
OS_VERSION |
SSL_KEY_STORE |
SSL_KEY_STORE_PASSWORD |
SSL_KEY_STORE_TYPE |
TEMP_DIRECTORY |
USER_HOME |
USER_LANGUAGE |
USER_NAME |
USER_REGION |
Modifier and Type | Method and 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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getBooleanValue, getBooleanValueOrThrow, getIntegerValue, getIntegerValueOrThrow, getNonDefaultStringValue, getStringValue, getStringValueOrThrow
public static final JavaSystemSetting JAVA_VERSION
public static final JavaSystemSetting JAVA_VENDOR
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 final JavaSystemSetting USER_NAME
public static final JavaSystemSetting SSL_KEY_STORE
public static final JavaSystemSetting SSL_KEY_STORE_PASSWORD
public static final JavaSystemSetting SSL_KEY_STORE_TYPE
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 © 2021. All rights reserved.