public enum SystemProperty extends Enum<SystemProperty> implements org.refcodes.mixin.KeyAccessor<String>, org.refcodes.mixin.ValueAccessor.ValueProperty<String>
SystemProperty
define values to be used at runtime. Them are passed
to a JVM by prefixing a "-D" to the actual "property=value" pair.Enum Constant and Description |
---|
CONFIG_DIR
Pass as JVM argument via "-Dconfig.dir=path_to_your_config_dir" (where
path_to_your_config_dir stands for the path to the directory where you
placed configuration files such as the
"
runtimelogger-config.xml " file). |
CONSOLE_ANSI
Pass as JVM argument via
-Dconsole.ansi=<true|false>
where "true" or "false" forces ANSI to be used / not used by REFCODES.ORG
artifacts, no matter what capabilities were detected for the hosting
terminal. |
CONSOLE_HEIGHT
Pass as JVM argument via "-Dconsole.height=n" (where n stands for the
number of lines).
|
CONSOLE_LINE_BREAK
The console's line-break property.
|
CONSOLE_WIDTH
Pass as JVM argument via "-Dconsole.width=n" (where n stands for the
number of chars per row).
|
FILE_SEPARATOR
The OS specific file separator is retrieved by this system property.
|
HTTP_NON_PROXY_HOSTS |
HTTP_PROXY_HOST |
HTTP_PROXY_PORT |
HTTPS_NON_PROXY_HOSTS |
HTTPS_PROXY_HOST |
HTTPS_PROXY_PORT |
KEY_STORE_FILE
Location of the Java keystore file containing an application process's
own certificate and private key.
|
KEY_STORE_PASSWORD
Password to access the private key from the keystore file specified by
KEY_STORE_FILE . |
KEY_STORE_TYPE
For Java keystore file format, this property has the value "jks" (or
"JKS").
|
LINE_SEPARATOR
Sequence used by operating system to separate lines in text files.
|
LOGGER_LAYOUT
Pass as JVM argument via "
-Dlogger.layout=<layout> "
(where <layout> stands for the chosen layout for the
REFCODES.ORG logger artifacts.). |
LOGGER_STYLE
Pass as JVM argument via "
-Dlogger.style=<style> "
(where <style> stands for the chosen logger-style for
the REFCODES.ORG logger artifacts.). |
OPERATING_SYSTEM_NAME
Operating system name.
|
PROCESS_ID
At least set on Ubuntu-Linux:.
|
SOCKS_PROXY_HOST |
SOCKS_PROXY_PORT |
TEMP_DIR
The OS specific temp folder path.
|
TRUST_STORE_FILE
Location of the Java keystore file containing the collection of CA
certificates trusted by this application process (trust store).
|
TRUST_STORE_PASSWORD
Password to unlock the keystore file (store password) specified by
TRUST_STORE_FILE . |
TRUST_STORE_TYPE
For Java keystore file format, this property has the value "jks" (or
"JKS").
|
USER_HOME
System variable holding the user's home folder path.
|
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
String |
getValue() |
void |
setValue(String aValue) |
static SystemProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SystemProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SystemProperty HTTP_PROXY_HOST
public static final SystemProperty HTTP_PROXY_PORT
public static final SystemProperty HTTPS_PROXY_HOST
public static final SystemProperty HTTPS_PROXY_PORT
public static final SystemProperty SOCKS_PROXY_HOST
public static final SystemProperty SOCKS_PROXY_PORT
public static final SystemProperty HTTP_NON_PROXY_HOSTS
public static final SystemProperty HTTPS_NON_PROXY_HOSTS
public static final SystemProperty CONFIG_DIR
runtimelogger-config.xml
" file).public static final SystemProperty FILE_SEPARATOR
System.getProperty(String)
.public static final SystemProperty TEMP_DIR
public static final SystemProperty PROCESS_ID
public static final SystemProperty LINE_SEPARATOR
public static final SystemProperty OPERATING_SYSTEM_NAME
public static final SystemProperty CONSOLE_HEIGHT
public static final SystemProperty CONSOLE_WIDTH
public static final SystemProperty CONSOLE_ANSI
-Dconsole.ansi=<true|false>
where "true" or "false" forces ANSI to be used / not used by REFCODES.ORG
artifacts, no matter what capabilities were detected for the hosting
terminal.public static final SystemProperty CONSOLE_LINE_BREAK
public static final SystemProperty LOGGER_LAYOUT
-Dlogger.layout=<layout>
"
(where <layout>
stands for the chosen layout for the
REFCODES.ORG logger artifacts.).public static final SystemProperty LOGGER_STYLE
-Dlogger.style=<style>
"
(where <style>
stands for the chosen logger-style for
the REFCODES.ORG logger artifacts.).public static final SystemProperty USER_HOME
public static final SystemProperty KEY_STORE_FILE
public static final SystemProperty KEY_STORE_PASSWORD
KEY_STORE_FILE
.public static final SystemProperty KEY_STORE_TYPE
public static final SystemProperty TRUST_STORE_FILE
public static final SystemProperty TRUST_STORE_PASSWORD
TRUST_STORE_FILE
.public static final SystemProperty TRUST_STORE_TYPE
public static SystemProperty[] values()
for (SystemProperty c : SystemProperty.values()) System.out.println(c);
public static SystemProperty 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 getKey()
getKey
in interface org.refcodes.mixin.KeyAccessor<String>
public String getValue()
getValue
in interface org.refcodes.mixin.ValueAccessor<String>
Copyright © 2017. All rights reserved.