Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- ABSOLUTE - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
None as of the folders as of the
ConfigLocatorenumeration are considered. - addShutdownHook(Runnable) - Static method in class org.refcodes.runtime.Execution
-
Registers a new virtual-machine shutdown hook.
- addShutdownHook(Thread) - Static method in class org.refcodes.runtime.Execution
-
Registers a new virtual-machine shutdown hook.
- ALIAS_GET - Static variable in class org.refcodes.runtime.Execution
- ALIAS_HAS - Static variable in class org.refcodes.runtime.Execution
- ALIAS_IS - Static variable in class org.refcodes.runtime.Execution
- ALIAS_SET - Static variable in class org.refcodes.runtime.Execution
- ALIAS_TOSTRING - Static variable in class org.refcodes.runtime.Execution
- ALL - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of folders as of the
ConfigLocatorenumeration. - annotations(Class<?>) - Static method in class org.refcodes.runtime.Execution
-
Gatherers all annotations annotating a provided
Class. - annotations(Object) - Static method in class org.refcodes.runtime.Execution
-
Gatherers all annotations annotating a provided
Object. - annotations(Field) - Static method in class org.refcodes.runtime.Execution
-
Gatherers all annotations annotating a provided
Field. - annotations(Method) - Static method in class org.refcodes.runtime.Execution
-
Gatherers all annotations annotating a provided
Method. - ANSI - Enum constant in enum class org.refcodes.runtime.Terminal
-
ansi: a terminal using the ANSI escape codes for color and formatting.
- ANSICON - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
The virtual and the physical console width height and environment variable.
- APPLICATION - Enum constant in enum class org.refcodes.runtime.SystemContext
-
Specifies an application specific granularity.
- APPLICATION_ALL - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of all the
APPLICATION_*folders. - APPLICATION_DIR - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of the folder in which the application resides (e.g. the `JAR` file).
- APPLICATION_DIR_ALL - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of all the
APPLICATION_DIR_*folders as of theConfigLocatorenumeration. - APPLICATION_DIR_CONFIG - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of the
configfolder relative to the folder in which the application resides (e.g. the `JAR` file). - APPLICATION_DIR_DOT_CONFIG - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of the
.configfolder relative to the folder in which the application resides (e.g. the `JAR` file). - APPLICATION_DIR_DOT_ETC - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of the
.etcfolder relative to the folder in which the application resides (e.g. the `JAR` file). - APPLICATION_DIR_DOT_SETTINGS - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of the
.settingsfolder relative to the folder in which the application resides (e.g. the `JAR` file). - APPLICATION_DIR_ETC - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of the
etcfolder relative to the folder in which the application resides (e.g. the `JAR` file). - APPLICATION_DIR_SETTINGS - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of the
settingsfolder relative to the folder in which the application resides (e.g. the `JAR` file). - APPLICATION_PARENT_ALL - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of all the
APPLICATION_PARRENT_*folders as of theConfigLocatorenumeration. - APPLICATION_PARENT_CONFIG - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of the
configfolder in the parent directory of the folder in which the application resides (e.g. the `JAR` file). - APPLICATION_PARENT_DOT_CONFIG - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of the
.configfolder in the parent directory of the folder in which the application resides (e.g. the `JAR` file). - APPLICATION_PARENT_DOT_ETC - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of the
.etcfolder in the parent directory of the folder in which the application resides (e.g. the `JAR` file). - APPLICATION_PARENT_DOT_SETTINGS - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of the
.settingsfolder in the parent directory of the folder in which the application resides (e.g. the `JAR` file). - APPLICATION_PARENT_ETC - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of the
etcfolder in the parent directory of the folder in which the application resides (e.g. the `JAR` file). - APPLICATION_PARENT_SETTINGS - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of the
settingsfolder in the parent directory of the folder in which the application resides (e.g. the `JAR` file). - APPLICATION_SESSION - Enum constant in enum class org.refcodes.runtime.SystemContext
-
Specifies a Java runtime invokcation's session and an application specific granularity.
- ARGS_FILTER - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
When set, then the
ArgsFilterfrom artifactrefcodes-cli(of grouporg.refcodes) with the according propertie's value is applied when parsing command line arguments via theorg.refcodescommand line parser (any implementation of theArgsParsertype). - ARGS_NOTATION - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
When set, then the
SyntaxNotationfrom artifactrefcodes-cli(of grouporg.refcodes) with the according propertie's value is applied when parsing command line arguments via theorg.refcodescommand line parser (any implementation of theArgsParsertype). - Arguments - Class in org.refcodes.runtime
-
This utility class provides method useful for the refcodes-cli artifact and whose implementation has been motivated by the implementation of the refcodes-cli artifact.
- ASCII - Enum constant in enum class org.refcodes.runtime.Terminal.CharSetCapability
-
The least common denominator which the current terminal session seems to be capable of.
- asDump(Object) - Static method in class org.refcodes.runtime.DumpBuilder
-
Dumps the the provided object into a
Mapwhich is returned as result (the builder needs not to be instantiated). - asNormalized(String, char) - Static method in class org.refcodes.runtime.Configuration
-
Normalizes the provided text.
B
- BUILDTIME - Enum constant in enum class org.refcodes.runtime.NativeImageCode
-
If the property
SystemProperty.NATIVE_IMAGE_CODEreturnsNativeImageCode.BUILDTIMEthe code is executing at image runtime.
C
- COMPUTERNAME - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
The environment variable (on windows) holding the computer's name.
- CONFIG_DIR - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
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.ini" file). - ConfigLocator - Enum Class in org.refcodes.runtime
-
This enumeration represents configuration folder locations (of type
File) and configuration file retrieval as of the chosen configuration mode. - Configuration - Class in org.refcodes.runtime
-
Converts a key to the format of a system property (camel-case) or an environment variable (snake-case in upper-case).
- Configuration() - Constructor for class org.refcodes.runtime.Configuration
- CONSOLE_ANSI - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
Set to "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_ANSI - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
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_CONEMU_ANSI - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
ConEmu's environment variable regarding ANSI support.
- CONSOLE_HEIGHT - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
Stands for the lines per column to be taken by REFCODES.ORG artifacts.
- CONSOLE_HEIGHT - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
Pass as JVM argument via "-Dconsole.height=n" (where n stands for the number of lines).
- CONSOLE_LINE_BREAK - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
The console's line-break property.
- CONSOLE_LINE_BREAK - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
The console's line-break property.
- CONSOLE_WIDTH - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
Stands for the chars per row to be taken by REFCODES.ORG artifacts.
- CONSOLE_WIDTH - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
Pass as JVM argument via "-Dconsole.width=n" (where n stands for the number of chars per row).
- containsDir(File, List<File>...) - Static method in class org.refcodes.runtime.Execution
-
Contains dir.
- Correlation - Enum Class in org.refcodes.runtime
-
The
Correlationassigns an according (as of the enumeration) Correlation-TID to the invoking process, this TID is used in log files and is part of the process's request or response pay-load in order to track process execution throughout a JVM. - CTRL_C_SIGNAL - Static variable in class org.refcodes.runtime.Execution
- CYGWIN - Enum constant in enum class org.refcodes.runtime.Terminal
-
cygwin: The cygwin terminal on Windows.
D
- DEFAULT - Enum constant in enum class org.refcodes.runtime.ConfigLocator
- DOCUMENT_ARRAY_INDEX - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
When set to
truethen marshaling (XML) documents will preserve array index information by using an index attribute for array elements in the produced XML. - DOCUMENT_ENVELOPE - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
When set to
truethen unmarshaling (XML) documents will preserve the preserve the root element (envelope) when even when merely acting as an envelope. - DumpBuilder - Class in org.refcodes.runtime
-
The
DumpBuilderassists you in inspecting the content of an object. - DumpBuilder() - Constructor for class org.refcodes.runtime.DumpBuilder
E
- EnvironmentVariable - Enum Class in org.refcodes.runtime
-
EnvironmentVariablefor retrieving some common environment variables with ease. - exec(int, String) - Static method in class org.refcodes.runtime.Host
-
Executes a command and returns the output.
- exec(int, String...) - Static method in class org.refcodes.runtime.Host
-
Executes a command and returns the output.
- exec(String) - Static method in class org.refcodes.runtime.Host
-
Executes a command and returns the output.
- exec(String...) - Static method in class org.refcodes.runtime.Host
-
Executes a command and returns the output.
- EXECUTABLE - Enum constant in enum class org.refcodes.runtime.NativeImageKind
-
If the property
SystemProperty.NATIVE_IMAGE_KINDisExecutablethe image is built as an executable. - Execution - Class in org.refcodes.runtime
-
Utility for acquiring runtime information on software systems, classes or objects.
- Execution.NonExistingValueClass - Class in org.refcodes.runtime
-
This class indicates a non existing value in the name-to-value mapping.
F
- FILE_ENCODING - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
The OS specific file encoding is retrieved by this system property.
- FILE_SEPARATOR - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
The OS specific file separator is retrieved by this system property.
- findAnnotation(Class<? extends Annotation>, Class<?>) - Static method in class org.refcodes.runtime.Execution
-
Seeks for an
Annotationof the given type annotating a providedClass, also reckoning annotations nested inside annotations (recursively). - findAnnotation(Class<? extends Annotation>, Object) - Static method in class org.refcodes.runtime.Execution
-
Seeks for an
Annotationof the given type annotating a providedObject, also reckoning annotations nested inside annotations (recursively). - findAnnotation(Class<? extends Annotation>, Field) - Static method in class org.refcodes.runtime.Execution
-
Seeks for an
Annotationof the given type annotating a providedField, also reckoning annotations nested inside annotations (recursively). - findAnnotation(Class<? extends Annotation>, Method) - Static method in class org.refcodes.runtime.Execution
-
Seeks for an
Annotationof the given type annotating a providedMethod, also reckoning annotations nested inside annotations (recursively).
G
- getAlias() - Method in enum class org.refcodes.runtime.Terminal
-
Returns the alias by which this
Terminaltype is known. - getCallerStackTraceElement() - Static method in class org.refcodes.runtime.Execution
-
Returns the
StackTraceElementbelonging to the direct caller of this method. - getCallerStackTraceElement(Class<?>) - Static method in class org.refcodes.runtime.Execution
-
Returns the
StackTraceElementbelonging to the caller of the callee. - getCallerStackTraceElement(Class<?>...) - Static method in class org.refcodes.runtime.Execution
-
Same as
Execution.getCallerStackTraceElement(Class)with the difference that the passed callees are tried out one after the other until the first caller determined for a callee is returned. - getCallerStackTraceElement(StackTraceElement) - Static method in class org.refcodes.runtime.Execution
-
Returns the
StackTraceElementbelonging to the caller of the callee. - getCallerStackTraceElement(StackTraceElement...) - Static method in class org.refcodes.runtime.Execution
-
Same as
Execution.getCallerStackTraceElement(StackTraceElement)with the difference that the passed callees are tried out one after the other until the first caller determined for a callee is returned. - getCallerStackTraceElement(String) - Static method in class org.refcodes.runtime.Execution
-
Returns the
StackTraceElementbelonging to the caller of the callee. - getCallerStackTraceElement(String...) - Static method in class org.refcodes.runtime.Execution
-
Same as
Execution.getCallerStackTraceElement(String)with the difference that the passed callees are tried out one after the other until the first caller determined for a callee is returned. - getCallerType() - Static method in class org.refcodes.runtime.Execution
-
Returns the type of the (
Class) belonging to the direct caller of this method. - getCallerType(Class<?>) - Static method in class org.refcodes.runtime.Execution
-
Returns the type of the (
Class) belonging to the caller of the callee. - getCallerType(Class<?>...) - Static method in class org.refcodes.runtime.Execution
-
Same as
Execution.getCallerType(Class)with the difference that the passed callees are tried out one after the other until the first caller determined for a callee is returned. - getCallerType(StackTraceElement) - Static method in class org.refcodes.runtime.Execution
-
Returns the type of the (
Class) belonging to the caller of the callee. - getCallerType(StackTraceElement...) - Static method in class org.refcodes.runtime.Execution
-
Same as
Execution.getCallerType(StackTraceElement)with the difference that the passed callees are tried out one after the other until the first caller determined for a callee is returned. - getCallerType(String) - Static method in class org.refcodes.runtime.Execution
-
Returns the type of the (
Class) belonging to the caller of the callee. - getCallerType(String...) - Static method in class org.refcodes.runtime.Execution
-
Same as
Execution.getCallerType(String)with the difference that the passed callees are tried out one after the other until the first caller determined for a callee is returned. - getComputerName() - Static method in class org.refcodes.runtime.Host
-
Determines the computer's name.
- getEncoding() - Static method in enum class org.refcodes.runtime.Terminal
-
Determines the encoding of the system (system's console) in use as of
System.out. - getEnvironmentVariable(String) - Method in class org.refcodes.runtime.Configuration
-
Returns the according environment variable after having converted the provided key to an environment variable.
- getFolders() - Method in enum class org.refcodes.runtime.ConfigLocator
-
Returns the folders to be examined by the according enumeration's configuration in the order as of evaluation.
- getFolders(File...) - Method in enum class org.refcodes.runtime.ConfigLocator
-
Returns the folders to be examined by the according enumeration's configuration in the order as of evaluation.
- getHeight() - Static method in enum class org.refcodes.runtime.Terminal
-
Determines the height in characters of the system's terminal in use.
- getId() - Method in enum class org.refcodes.runtime.Correlation
-
Retrieves the Correlation-TID assigned to the current
Thread. - getKey() - Method in class org.refcodes.runtime.Configuration
- getKey() - Method in enum class org.refcodes.runtime.EnvironmentVariable
- getKey() - Method in enum class org.refcodes.runtime.SystemProperty
- getLineBreak() - Static method in enum class org.refcodes.runtime.Terminal
-
Determines the operating system as of
OperatingSystem.toOperatingSystem()and in case aOperatingSystem.WINDOWSis being detected, then \r\n" (CRLF) is returned, else "\n" (LF) is returned. - getMainClass() - Static method in class org.refcodes.runtime.Execution
-
Returns the main class launching the application.
- getObject() - Method in class org.refcodes.runtime.DumpBuilder
- getPid() - Static method in class org.refcodes.runtime.Host
-
Bad hack to get the JVM's (process TID) PID of the process running your JVM instance.
- getSystemProperty(String) - Method in class org.refcodes.runtime.Configuration
-
Returns the according system's property after having converted the provided key to a system property.
- getTempDir() - Static method in class org.refcodes.runtime.Host
-
Determines the temporary directory for scratch space.
- getTerminalSession() - Static method in enum class org.refcodes.runtime.Terminal
-
Determines the current session's terminal in use.
- getUname() - Static method in class org.refcodes.runtime.Host
-
If on a *nix alike system, this method returns the output of the "uname -a" command: "uname" prints system information, "-a" instructs it to print all information.
- getValue() - Method in enum class org.refcodes.runtime.EnvironmentVariable
-
Retrieves the value, first the upper-case variant of the environment variable is tried out.
- getValue() - Method in enum class org.refcodes.runtime.NativeImageCode
- getValue() - Method in enum class org.refcodes.runtime.NativeImageKind
- getValue() - Method in enum class org.refcodes.runtime.SystemProperty
- getVersion() - Method in enum class org.refcodes.runtime.OperatingSystem
-
Tries at best will to get a version number of the currently operating OS.
- getWidth() - Static method in enum class org.refcodes.runtime.Terminal
-
Determines the width in characters of the system's terminal in use.
- GNOME_TERMINAL - Enum constant in enum class org.refcodes.runtime.Terminal
-
gnome-terminal: the default terminal emulator for the GNOME desktop environment.
H
- hasAnnotation(Class<? extends Annotation>, Class<?>) - Static method in class org.refcodes.runtime.Execution
-
Tests if an
Annotationof the given type annotates a providedClass, also reckoning annotations nested inside annotations (recursively). - hasAnnotation(Class<? extends Annotation>, Object) - Static method in class org.refcodes.runtime.Execution
-
Tests if an
Annotationof the given type annotates a providedObject, also reckoning annotations nested inside annotations (recursively). - hasAnnotation(Class<? extends Annotation>, Field) - Static method in class org.refcodes.runtime.Execution
-
Tests if an
Annotationof the given type annotates a providedField, also reckoning annotations nested inside annotations (recursively). - hasAnnotation(Class<? extends Annotation>, Method) - Static method in class org.refcodes.runtime.Execution
-
Tests if an
Annotationof the given type annotates a providedMethod, also reckoning annotations nested inside annotations (recursively). - hasAnyCorrelationId() - Static method in enum class org.refcodes.runtime.Correlation
-
Evaluates whether any of the given Correlation-IDs is present (not null).
- hasGetterAttribute(Object, String, Class<?>) - Static method in class org.refcodes.runtime.Execution
-
This method tests whether the given java beans getter attribute is found for the given object.
- hasSetterAttribute(Object, String, Class<?>) - Static method in class org.refcodes.runtime.Execution
-
This method tests whether the given java beans setter attribute is found for the given object.
- Host - Class in org.refcodes.runtime
-
The
Hosttype abstracts the computer system on which this application runs on. - HOST - Enum constant in enum class org.refcodes.runtime.SystemContext
-
Specifies a host specific granularity.
- HOST_APPLICATION - Enum constant in enum class org.refcodes.runtime.SystemContext
-
Specifies an application on a host specific granularity.
- HOST_APPLICATION_SESSION - Enum constant in enum class org.refcodes.runtime.SystemContext
-
Specifies a Java runtime invokcation's session for an application on a host specific granularity.
- HOST_ETC - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of the (in Unix alike systems)
/etc/folder. - HOST_SEED - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
Environment variable "HOST_SEED" for the Host-Seed for host-related IDs.
- HOST_SEED - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
System property "host.seed" for the Host-Seed for host-related IDs.
- HOST_SESSION - Enum constant in enum class org.refcodes.runtime.SystemContext
-
Specifies a Java runtime invokcation's session for a host specific granularity.
- HOST_USER - Enum constant in enum class org.refcodes.runtime.SystemContext
-
Specifies a user on a host specific granularity.
- HOST_USER_APPLICATION - Enum constant in enum class org.refcodes.runtime.SystemContext
-
Specifies an application for a user on a host specific granularity.
- HOST_USER_APPLICATION_SESSION - Enum constant in enum class org.refcodes.runtime.SystemContext
-
Specifies a Java runtime invokcation's session for an application for a user on a host specific granularity.
- HOST_USER_SESSION - Enum constant in enum class org.refcodes.runtime.SystemContext
-
Specifies a Java runtime invokcation's session for a user on a host specific granularity.
- HOSTNAME - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
The environment variable (on windows) holding the computer's name.
- HTTP_NON_PROXY_HOSTS - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
No-Proxy settings for the
SystemProperty.HTTP_PROXY_HOST(SystemProperty.HTTP_PROXY_PORT) settings in a comma separated list ("localhost,127.0.0.0/8,127.0.1.1,127.0.1.1*,...") - HTTP_PROXY - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
HTTP-Proxy setting in URL notation ("http://my.company.org:3128")
- HTTP_PROXY_HOST - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
HTTP-Proxy host without a port ("http://my.company.org")
- HTTP_PROXY_PORT - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
HTTP-Proxy port ("3128")
- HTTPS_NON_PROXY_HOSTS - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
No-Proxy settings for the
SystemProperty.HTTPS_PROXY_HOST(SystemProperty.HTTPS_PROXY_PORT) settings in a comma separated list ("localhost,127.0.0.0/8,127.0.1.1,127.0.1.1*,...") - HTTPS_PROXY - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
HTTPS-Proxy setting in URL notation ("http://my.company.org:3128")
- HTTPS_PROXY_HOST - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
HTTPS-Proxy host without a port ("http://my.company.org")
- HTTPS_PROXY_PORT - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
HTTP-Proxy port ("3128")
I
- isAnsiTerminal() - Static method in enum class org.refcodes.runtime.Terminal
-
Determines whether ANSI escape sequences are supported by the terminal.
- isAnsiTerminalEnabled() - Static method in enum class org.refcodes.runtime.Terminal
-
Determines whether ANSI escape sequences are forced to be supported or not by REFCODES.ORG artifacts.
- isApplicationBase() - Method in enum class org.refcodes.runtime.ConfigLocator
-
Determines whether to consider the application's base (the folder where the JAR resides) folder.
- isApplicationBaseConfig() - Method in enum class org.refcodes.runtime.ConfigLocator
-
Determines whether to consider the application's base (the folder where the JAR resides) "config" subfolder.
- isApplicationBaseDotConfig() - Method in enum class org.refcodes.runtime.ConfigLocator
-
Determines whether to consider the application's base (the folder where the JAR resides) ".config" subfolder.
- isApplicationBaseDotEtc() - Method in enum class org.refcodes.runtime.ConfigLocator
-
Determines whether to consider the application's base (the folder where the JAR resides) ".etc" subfolder.
- isApplicationBaseDotSettings() - Method in enum class org.refcodes.runtime.ConfigLocator
-
Determines whether to consider the application's base (the folder where the JAR resides) ".settings" subfolder.
- isApplicationBaseEtc() - Method in enum class org.refcodes.runtime.ConfigLocator
-
Determines whether to consider the application's base (the folder where the JAR resides) "etc" subfolder.
- isApplicationBaseSettings() - Method in enum class org.refcodes.runtime.ConfigLocator
-
Determines whether to consider the application's base (the folder where the JAR resides) "settings" subfolder.
- isApplicationLevel() - Method in enum class org.refcodes.runtime.SystemContext
-
Determines whether the granularity is on an application level.
- isApplicationParentConfig() - Method in enum class org.refcodes.runtime.ConfigLocator
-
Determines whether to consider the application's parent (the parent folder of the folder where the JAR resides) "config" subfolder.
- isApplicationParentDotConfig() - Method in enum class org.refcodes.runtime.ConfigLocator
-
Determines whether to consider the application's parent (the parent folder of the folder where the JAR resides) ".config" subfolder.
- isApplicationParentDotEtc() - Method in enum class org.refcodes.runtime.ConfigLocator
-
Determines whether to consider the application's parent (the parent folder of the folder where the JAR resides) ".etc" subfolder.
- isApplicationParentDotSettings() - Method in enum class org.refcodes.runtime.ConfigLocator
-
Determines whether to consider the application's parent (the parent folder of the folder where the JAR resides) ".settings" subfolder.
- isApplicationParentEtc() - Method in enum class org.refcodes.runtime.ConfigLocator
-
Determines whether to consider the application's parent (the parent folder of the folder where the JAR resides) "etc" subfolder.
- isApplicationParentSettings() - Method in enum class org.refcodes.runtime.ConfigLocator
-
Determines whether to consider the application's parent (the parent folder of the folder where the JAR resides) "settings" subfolder.
- isBuildtime() - Static method in enum class org.refcodes.runtime.NativeImageCode
-
Determines whether we are invoked upon buildtime (???)
- isDetected() - Method in enum class org.refcodes.runtime.OperatingSystem
-
Determines whether this enumeration represents the current
OperatingSystem(e.g. this OS has be detected to be running currently). - isDetected() - Method in enum class org.refcodes.runtime.Shell
- isDetected() - Method in enum class org.refcodes.runtime.Terminal
- isEnabled() - Method in enum class org.refcodes.runtime.SystemProperty
- isExecutable() - Static method in enum class org.refcodes.runtime.NativeImageKind
-
Determines whether we have an executable native image, e.g. the
SystemProperty.NATIVE_IMAGE_KIND's value evaluates toNativeImageKind.EXECUTABLE's value. - isHostEtc() - Method in enum class org.refcodes.runtime.ConfigLocator
-
Determines whether to consider the host's "/etc" folder.
- isHostLevel() - Method in enum class org.refcodes.runtime.SystemContext
-
Determines whether the granularity is on a host level.
- isLineBreakRequired(int) - Static method in enum class org.refcodes.runtime.Terminal
-
Determines whether we need an explicit line-break for the given width on the current operating system and used terminal.
- isNativeImage() - Static method in class org.refcodes.runtime.Execution
-
Determines whether we are inside an executing native image, e.g. the
SystemProperty.NATIVE_IMAGE_CODE's value evaluates toNativeImageCode.RUNTIME's value. - isRuntime() - Static method in enum class org.refcodes.runtime.NativeImageCode
-
Determines whether we are inside an executing native image, e.g. the
SystemProperty.NATIVE_IMAGE_CODE's value evaluates toNativeImageCode.RUNTIME's value. - isSessionLevel() - Method in enum class org.refcodes.runtime.SystemContext
-
Determines whether the granularity is on a session level, e.g. valid just for the lifetime of the current runtime Java's invocation.
- isSharedLibrary() - Static method in enum class org.refcodes.runtime.NativeImageKind
-
Determines whether we have a shared library, e.g. the
SystemProperty.NATIVE_IMAGE_KIND's value evaluates toNativeImageKind.SHARED_LIBRARY's value. - isUnderTest() - Static method in class org.refcodes.runtime.Execution
-
Determines whether this code is executed from inside a unit test or not.
- isUserHome() - Method in enum class org.refcodes.runtime.ConfigLocator
-
Determines whether to consider the user's home "~" folder.
- isUserHomeConfig() - Method in enum class org.refcodes.runtime.ConfigLocator
-
Determines whether to consider the user's home "~" subfolder "config".
- isUserHomeDotConfig() - Method in enum class org.refcodes.runtime.ConfigLocator
-
Determines whether to consider the user's home "~" subfolder ".config".
- isUserHomeDotEtc() - Method in enum class org.refcodes.runtime.ConfigLocator
-
Determines whether to consider the user's home "~" subfolder ".etc".
- isUserHomeDotSettings() - Method in enum class org.refcodes.runtime.ConfigLocator
-
Determines whether to consider the user's home "~" subfolder ".settings".
- isUserHomeEtc() - Method in enum class org.refcodes.runtime.ConfigLocator
-
Determines whether to consider the user's home "~" subfolder "etc".
- isUserHomeSettings() - Method in enum class org.refcodes.runtime.ConfigLocator
-
Determines whether to consider the user's home "~" subfolder "settings".
- isUserLevel() - Method in enum class org.refcodes.runtime.SystemContext
-
Determines whether the granularity is on a user level.
- isUserWorkingDir() - Method in enum class org.refcodes.runtime.ConfigLocator
-
Determines whether to consider the user's current working directory (as for example bash's
pwdwould print out).
J
- JAVA_AWT_HEADLESS - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
To set up headless mode, set the appropriate system property ("https://www.oracle.com/technetwork/articles/javase/headless-136834.html").
K
- KEY_STORE_FILE - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
Location of the Java keystore file containing an application process's own certificate and private key.
- KEY_STORE_PASSWORD - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
Password to access the private key from the keystore file specified by
SystemProperty.KEY_STORE_FILE. - KEY_STORE_TYPE - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
For Java keystore file format, this property has the value "jks" (or "JKS").
- kill(Long) - Static method in class org.refcodes.runtime.Host
-
Bad hack to kill an OS thread by PID.
- killProcess(long) - Static method in class org.refcodes.runtime.Host
-
Bad hack to kill an OS thread by PID.
- KONSOLE - Enum constant in enum class org.refcodes.runtime.Terminal
-
konsole: the default terminal emulator for the KDE desktop environment.
L
- LANG - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
LANG is the normal environment variable for specifying a locale.
- LAUNCHER_DIR - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
Specifies the path to your application's launcher dir, e.g. the place where your JAR resides in.
- LINE_SEPARATOR - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
Sequence used by operating system to separate lines in text files.
- LINUX - Enum constant in enum class org.refcodes.runtime.Terminal
-
linux: the console terminal in a Linux system.
- LOG_DEBUG - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
When
SystemProperty.isEnabled(), then additional REFCODES.ORG artifacts' debug information may be logged. - LOG_TESTS - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
When
SystemProperty.isEnabled(), then REFCODES.ORG artifacts' unit tests are (more) verbose, - LOGGER_LAYOUT - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
Stands for the chosen layout for the REFCODES.ORG logger artifacts.
- LOGGER_LAYOUT - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
Pass as JVM argument via "
-Dlogger.layout=<layout>" (where<layout>stands for the chosen layout for the REFCODES.ORG logger artifacts.). - LOGGER_STYLE - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
Stands for the chosen style for the REFCODES.ORG logger artifacts.
- LOGGER_STYLE - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
Pass as JVM argument via "
-Dlogger.style=<style>" (where<style>stands for the chosen logger-style for the REFCODES.ORG logger artifacts.)
M
- MAC - Enum constant in enum class org.refcodes.runtime.OperatingSystem
N
- NATIVE_IMAGE_CODE - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
Holds the string that is the name of the system property providing information about the context in which code is currently executing.
- NATIVE_IMAGE_KIND - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
Name of the system property that holds if this image is built as a shared library or an executable.
- NativeImageCode - Enum Class in org.refcodes.runtime
-
Defines the values of the
SystemProperty.NATIVE_IMAGE_CODEsystem property. - NativeImageKind - Enum Class in org.refcodes.runtime
-
Defines the values of the
SystemProperty.NATIVE_IMAGE_KINDsystem property. - nextId() - Method in enum class org.refcodes.runtime.Correlation
-
Creates a new Correlation-TID no matter whether there is a Correlation-TID already assigned to the current thread or not.
- NO_PROXY - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
No-Proxy settings for the
EnvironmentVariable.HTTP_PROXY(EnvironmentVariable.HTTPS_PROXY) settings in a comma separated list ("localhost,127.0.0.0/8,127.0.1.1,127.0.1.1*,...") - NON_EXISTING_VALUE - Static variable in class org.refcodes.runtime.Execution
- NONE - Enum constant in enum class org.refcodes.runtime.Shell
- NonExistingValueClass() - Constructor for class org.refcodes.runtime.Execution.NonExistingValueClass
- NUMBER_OF_PROCESSORS - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
Number of processors.
O
- OPERATING_SYSTEM_NAME - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
Operating system name.
- OPERATING_SYSTEM_VERSION - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
Operating system name.
- OperatingSystem - Enum Class in org.refcodes.runtime
-
Enumeration with the (supported) operating systems.
- org.refcodes.runtime - module org.refcodes.runtime
- org.refcodes.runtime - package org.refcodes.runtime
-
This package contains runtime related interfaces and enumerations.
- OS_ARCH - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
Processor architecture on some systems (e.g.
- OS_NAME - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
OS Name, might be something like "Linux" or "Windows"
P
- POWER_SHELL - Enum constant in enum class org.refcodes.runtime.Shell
-
MS Windows PowerShell:.
- probeTillNoneLoggerElement(Class<?>...) - Static method in class org.refcodes.runtime.Execution
-
Try to skip any logging framework's factory or whatsoever
StackTraceElementinstances. - PROCESS_ID - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
At least set on Ubuntu-Linux:.
- PROCESSOR_ARCHITECTURE - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
Processor architecture on some systems (e.g.
- PROCESSOR_ARCHITEW6432 - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
Processor architecture on some systems (e.g.
- pullId() - Method in enum class org.refcodes.runtime.Correlation
-
Returns a Correlation-TID in any case: Creates a new Correlation-TID in case there is none yet for the current thread.
R
- REQUEST - Enum constant in enum class org.refcodes.runtime.Correlation
-
A single request spanning over multiple systems.
- RUNTIME - Enum constant in enum class org.refcodes.runtime.NativeImageCode
-
If the property
SystemProperty.NATIVE_IMAGE_CODEreturnsNativeImageCode.RUNTIMEthe code is executing in the context of image building (e.g. in a static initializer of a class that will be contained in the image). - RXVT - Enum constant in enum class org.refcodes.runtime.Terminal
-
rxvt:a terminal emulator for the X Window System.
S
- SCREEN - Enum constant in enum class org.refcodes.runtime.Terminal
-
screen: a full-screen window manager that multiplexes a physical terminal between several processes.
- SESSION - Enum constant in enum class org.refcodes.runtime.Correlation
-
Identifying a session for multiple requests spanning over multiple systems. traced.
- SESSION - Enum constant in enum class org.refcodes.runtime.SystemContext
-
Specifies a Java runtime invokcation's session specific granularity, valid just for the current invocation of the Java runtime.
- setAttribute(Object, String, Object) - Static method in class org.refcodes.runtime.Execution
-
This method sets a java beans attribute for the given object.
- setAttribute(Object, Attribute) - Static method in class org.refcodes.runtime.Execution
-
This method sets a java beans attribute for the given object.
- setEnabled(boolean) - Method in enum class org.refcodes.runtime.SystemProperty
- setId(String) - Method in enum class org.refcodes.runtime.Correlation
-
Assigns the given Correlation-TID to the current
Thread. - setJulLoggingHandler(Handler) - Static method in class org.refcodes.runtime.Execution
-
Redirects the
Loggerconfiguration and sets the provided handler. - setJulLoggingLevel(Level) - Static method in class org.refcodes.runtime.Execution
- setJulLoggingStreams(OutputStream, OutputStream, Level) - Static method in class org.refcodes.runtime.Execution
-
Redirects the
Loggerconfiguration to the provided streams. - setKey(String) - Method in class org.refcodes.runtime.Configuration
- setObject(Object) - Method in class org.refcodes.runtime.DumpBuilder
- setValue(String) - Method in enum class org.refcodes.runtime.EnvironmentVariable
-
Sets the value, first the upper-case variant of the environment variable is tried out.
- setValue(String) - Method in enum class org.refcodes.runtime.SystemProperty
- SHARED_LIBRARY - Enum constant in enum class org.refcodes.runtime.NativeImageKind
-
If the property
SystemProperty.NATIVE_IMAGE_KINDisNativeImageKind.SHARED_LIBRARYthe image is built as a shared library. - Shell - Enum Class in org.refcodes.runtime
-
Enumeration with the (relevant) shells (command line interpreters).
- SHELL - Enum constant in enum class org.refcodes.runtime.Shell
-
Unix / Linux / BSD like shell.
- SOCKS_PROXY_HOST - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
SOCKS-Proxy host without a port ("http://my.company.org")
- SOCKS_PROXY_PORT - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
SOCKS-Proxy port ("3128")
- STRUCT_KEEP_MAPS - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
When set to "true" then
Mapinstances in data-structures are preserved instead of converting them to arrays if possible by indirectly callingStructureUtility.toDataStructure(PathMap, String)when invokingPathMap.toDataStructure(). - STRUCT_KEEP_MAPS - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
When set to "true" then
Mapinstances in data-structures are preserved instead of converting them to arrays if possible by indirectly callingStructureUtility.toDataStructure(PathMap, String)when invokingPathMap.toDataStructure(). - SystemContext - Enum Class in org.refcodes.runtime
-
Describes the context within a system's environment regarding host, user and application contexts as well as the currently invoked Java runtime session.
- SystemProperty - Enum Class in org.refcodes.runtime
-
SystemPropertydefine values to be used at runtime.
T
- TEMP_DIR - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
The OS specific temp folder path.
- TERM - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
Environment variable holding the current session's terminal.
- Terminal - Enum Class in org.refcodes.runtime
-
Enumeration with the (relevant) terminals as well as interpolated terminal metrics.
- TERMINAL_COLUMNS - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
The console width environment variable on *ix like shells.
- TERMINAL_ENCODING - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
Environment variable holding the current session's terminal encoding.
- TERMINAL_LINES - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
The console height environment variable.
- Terminal.CharSetCapability - Enum Class in org.refcodes.runtime
-
The
Terminal.CharSetCapabilitydefines three categories of character capabilities as observed on various platform. - TMPDIR - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
TMPDIR is the canonical environment variable in Unix and POSIX that should be used to specify a temporary directory for scratch space.
- TMUX - Enum constant in enum class org.refcodes.runtime.Terminal
-
tmux: a terminal multiplexer that allows multiple terminals to be created and managed from a single console or SSH session.
- toBeanAttributes(Object) - Static method in class org.refcodes.runtime.Execution
-
This method uses reflection on order to analyze a given object.
- toBootstrapStandardError() - Static method in class org.refcodes.runtime.Execution
-
Returns the original
PrintStreamfor STDERR as initialized by the JVM at bootstrapping time (theSystem.errPrintStreammay have got modified by libraries or frameworks in the meanwhile). - toBootstrapStandardIn() - Static method in class org.refcodes.runtime.Execution
-
Returns the original
InputStreamfor STDIN as initialized by the JVM at bootstrapping time (theSystem.inInputStreammay have got modified by libraries or frameworks in the meanwhile). - toBootstrapStandardOut() - Static method in class org.refcodes.runtime.Execution
-
Returns the original
PrintStreamfor STDOUT as initialized by the JVM at bootstrapping time (theSystem.outPrintStreammay have got modified by libraries or frameworks). - toCharSetCapability() - Static method in enum class org.refcodes.runtime.Terminal
-
Determines the
Terminal.CharSetCapabilityof the current terminal session. - toClass(StackTraceElement) - Static method in class org.refcodes.runtime.Execution
-
Retrieves the
Classtype to which theStackTraceElementbelongs. - toClassName() - Static method in class org.refcodes.runtime.Execution
-
Retrieves the class name of the caller of this method without the fully qualified package name part.
- toClassName(StackTraceElement) - Static method in class org.refcodes.runtime.Execution
-
Returns the class name part from a
StackTraceElement. - toClassName(String) - Static method in class org.refcodes.runtime.Execution
-
Returns the class name part from a fully qualified class name (which has the fully qualified package name as part of its name).
- toClone(T) - Static method in class org.refcodes.runtime.Execution
- toContextId() - Method in enum class org.refcodes.runtime.SystemContext
-
Creates an TID most probably unique as specified by the enumeration instance this method is invoked on.
- toContextId(String) - Method in enum class org.refcodes.runtime.SystemContext
-
Creates an TID most probably unique as specified by the enumeration instance this method is invoked on.
- toContextIds(int) - Method in enum class org.refcodes.runtime.SystemContext
-
Creates an array of IDs most probably unique as specified by the provided argument this method is invoked on.
- toContextIds(int, String) - Method in enum class org.refcodes.runtime.SystemContext
-
Creates an array of IDs most probably unique as specified by the provided argument this method is invoked on.
- toContextSequence() - Method in enum class org.refcodes.runtime.SystemContext
-
Creates a
Stringmost probably unique as specified by the enumeration instance this method is invoked on. - toContextSequence(char[]) - Method in enum class org.refcodes.runtime.SystemContext
-
Creates a
Stringmost probably unique as specified by the enumeration instance this method is invoked on. - toContextSequence(String) - Method in enum class org.refcodes.runtime.SystemContext
-
Creates a
Stringmost probably unique as specified by the enumeration instance this method is invoked on. - toContextString() - Method in enum class org.refcodes.runtime.SystemContext
-
Creates a
Stringmost probably unique as specified by the enumeration instance this method is invoked on. - toContextString(char[]) - Method in enum class org.refcodes.runtime.SystemContext
-
Creates a
Stringmost probably unique as specified by the enumeration instance this method is invoked on. - toContextString(String) - Method in enum class org.refcodes.runtime.SystemContext
-
Creates a
Stringmost probably unique as specified by the enumeration instance this method is invoked on. - toDump() - Method in class org.refcodes.runtime.DumpBuilder
-
Dumps the state of the contained object (as of
DumpBuilder.setObject(Object)) into aMapwhich is returned as result. - toDump(Object) - Method in class org.refcodes.runtime.DumpBuilder
-
Dumps the state of the provided object into a
Mapwhich is returned as result. - toDump(Object, Map<String, String>) - Static method in class org.refcodes.runtime.DumpBuilder
-
Dumps the state of the implementing instance into the provided
Mapwhich is returned as result. - toEnvironmentVariable() - Method in class org.refcodes.runtime.Configuration
-
Converts the key as of
Configuration.getKey()to an environment variable. - toEnvironmentVariable(String) - Method in class org.refcodes.runtime.Configuration
-
Converts the provided key to an environment variable.
- toFile(String) - Method in enum class org.refcodes.runtime.ConfigLocator
-
Retrieves the first
Fileidentified by the given filename located in one of the according enumeration's configuration locations. - toFile(String, File...) - Method in enum class org.refcodes.runtime.ConfigLocator
-
Retrieves the first
Fileidentified by the given filename located in one of the according enumeration's configuration locations. - toFullCorrelationId() - Static method in enum class org.refcodes.runtime.Correlation
-
Returns a
Stringwith all Correlation-IDs found separated by aDelimiter.CORRELATION_IDcharacter from each other. - toFullyQualifiedClassName() - Static method in class org.refcodes.runtime.Execution
-
Retrieves the fully qualified method name of the caller of this method.
- toFullyQualifiedClassName(StackTraceElement) - Static method in class org.refcodes.runtime.Execution
-
Retrieves the fully qualified class name from a
StackTraceElement. - toFullyQualifiedMethodName() - Static method in class org.refcodes.runtime.Execution
-
Retrieves the fully qualified method name of the caller of this method.
- toFullyQualifiedMethodName(StackTraceElement) - Static method in class org.refcodes.runtime.Execution
-
Retrieves the fully qualified method name from a
StackTraceElement. - toFullyQualifiedPackageName() - Static method in class org.refcodes.runtime.Execution
-
Retrieves the fully qualified package name of the caller of this method without the class name part.
- toFullyQualifiedPackageName(StackTraceElement) - Static method in class org.refcodes.runtime.Execution
-
Retrieves the fully qualified package name from a
StackTraceElement. - toFullyQualifiedPackageName(String) - Static method in class org.refcodes.runtime.Execution
-
Returns the fully qualified package name part from a fully qualified class name (which has the fully qualified package name as part of its name).
- toHeurisitcCallerStackTraceElement(Class<?>) - Static method in class org.refcodes.runtime.Execution
-
Returns the best matching
StackTraceElementbelonging to the caller of the callee.The "best matching"StackTraceElementis considered to be the one not belonging to any "internal" API in a package namespace such as "com.sun.*", "java.*" or "javax.*". - toHeurisitcCallerStackTraceElement(Class<?>[]) - Static method in class org.refcodes.runtime.Execution
-
Returns the best matching
StackTraceElementbelonging to the caller of one of the callees (in the order passed to the method).The "best matching"StackTraceElementis considered to be the one not belonging to any "internal" API in a package namespace such as "com.sun.*", "java.*" or "javax.*". - toHeurisitcCallerStackTraceElement(StackTraceElement) - Static method in class org.refcodes.runtime.Execution
-
Returns the best matching
StackTraceElementbelonging to the caller of the callee.The "best matching"StackTraceElementis considered to be the one not belonging to any "internal" API in a package namespace such as "com.sun.*", "java.*" or "javax.*". - toHeurisitcCallerStackTraceElement(StackTraceElement[]) - Static method in class org.refcodes.runtime.Execution
-
Returns the best matching
StackTraceElementbelonging to the caller of one of the callees (in the order passed to the method).The "best matching"StackTraceElementis considered to be the one not belonging to any "internal" API in a package namespace such as "com.sun.*", "java.*" or "javax.*". - toHeurisitcCallerStackTraceElement(String) - Static method in class org.refcodes.runtime.Execution
-
Returns the best matching
StackTraceElementbelonging to the caller of the callee. - toHeurisitcCallerStackTraceElement(String[]) - Static method in class org.refcodes.runtime.Execution
-
Returns the best matching
StackTraceElementbelonging to the caller of one of the callees (in the order passed to the method).The "best matching"StackTraceElementis considered to be the one not belonging to any "internal" API in a package namespace such as "com.sun.*", "java.*" or "javax.*". - toHeuristicHeight() - Static method in enum class org.refcodes.runtime.Terminal
-
Does some calculation to always return a sound console height (never returns -1).
- toHeuristicWidth() - Static method in enum class org.refcodes.runtime.Terminal
-
Does some calculation to always return a sound console width (never returns -1).
- toHostIpAddress() - Static method in class org.refcodes.runtime.Host
-
Tries to determine a no-localhost IP-Address for this machine.
- toHostMacAddress() - Static method in class org.refcodes.runtime.Host
-
Tries to determine the host Mac-Address for this machine.
- toInvertible(char[]) - Method in enum class org.refcodes.runtime.SystemContext
-
Obfuscates (applies a simple invertible XOR function on) the given text with the
SystemContextelement's contextString(as ofSystemContext.toContextString()). - toLauncherDir() - Static method in class org.refcodes.runtime.Execution
-
Generates the base path relative to the given class location.
- toLineBreak(int) - Static method in enum class org.refcodes.runtime.Terminal
-
Uses
Terminal.isLineBreakRequired(int)to retrieve the character sequence required to suffix to a line in order to get a line break without risking any empty lines as of automatic line wrapping. - toMethodName() - Static method in class org.refcodes.runtime.Execution
-
Retrieves the fully qualified method name of the caller of this method.
- toMethodName(StackTraceElement) - Static method in class org.refcodes.runtime.Execution
-
Retrieves the method name from a
StackTraceElement. - toObfuscated(String) - Method in enum class org.refcodes.runtime.SystemContext
-
Obfuscates (applies a simple invertible XOR function on) the given text with the
SystemContextelement's contextString(as ofSystemContext.toContextString()). - toOperatingSystem() - Static method in enum class org.refcodes.runtime.OperatingSystem
-
Determines the operating system your application is currently running on.
- toPath() - Method in class org.refcodes.runtime.Configuration
-
Converts the key as of
Configuration.getKey()to a path (as ofPathMap). - toPath(String) - Method in class org.refcodes.runtime.Configuration
-
Converts the provided key as of
Configuration.getKey()to a path (as ofPathMap). - toPrettySystemInfo() - Static method in class org.refcodes.runtime.Host
-
Gathers all available system information from this Artifac's point of view.
- toProperties(String[]) - Static method in class org.refcodes.runtime.Arguments
-
Creates a
Mapfrom the provided command line arguments using theArgsPrefix.toPrefixes()prefixes to identify the keys (and the values) from the provided arguments. - toProperties(String[], String[], char) - Static method in class org.refcodes.runtime.Arguments
-
Creates a
Mapfrom the provided command line arguments using the provided prefixes to identify the keys (and the values) from the provided arguments. - toProperties(String[], Collection<String>, char) - Static method in class org.refcodes.runtime.Arguments
-
Creates a
Mapfrom the provided command line arguments using the provided prefixes to identify the keys (and the values) from the provided arguments. - toPropertyValue(String, SystemProperty, EnvironmentVariable...) - Static method in enum class org.refcodes.runtime.SystemProperty
-
Gets the value for the provided properties, if non was found then the default value is taken.
- toPropertyValue(SystemProperty, EnvironmentVariable...) - Static method in enum class org.refcodes.runtime.SystemProperty
-
Gets the value for the provided properties, if non was found then null is returned.
- toShell() - Static method in enum class org.refcodes.runtime.Shell
-
Tries to determine the command line interpreter (CLI) - if any - this process is running in, e.g. whether we are running in a DOS console environment or a Linux alike Shell.
- toStackTrace() - Static method in class org.refcodes.runtime.Execution
-
Gets the stack trace for the current thread.
- toString(String, String) - Static method in class org.refcodes.runtime.Execution
-
Creates a string of a super class's
Object.toString()method and the provided "toString" text. - toSystemErr() - Static method in class org.refcodes.runtime.Execution
-
Create a
PrintStreamfromSystem.errbeing UTF-8 encoded and filtering out ANSI escape codes in case the underlying terminal does not support the such. - toSystemInfo() - Static method in class org.refcodes.runtime.Host
-
Gathers all available system information from this Artifac's point of view.
- toSystemOut() - Static method in class org.refcodes.runtime.Execution
-
Create a
PrintStreamfromSystem.outbeing UTF-8 encoded and filtering out ANSI escape codes in case the underlying terminal does not support the such. - toSystemProperty() - Method in class org.refcodes.runtime.Configuration
-
Converts the key as of
Configuration.getKey()to a system property. - toSystemProperty(String) - Method in class org.refcodes.runtime.Configuration
-
Converts the provided key to a system property.
- toTerminal() - Static method in enum class org.refcodes.runtime.Terminal
-
Determines the terminal your application is currently in:
- toUserWorkingDir() - Static method in class org.refcodes.runtime.Host
-
Tries to determine the current directory from which the Java programm was started for example as of bash's
pwdcommand. - TRUST_STORE_FILE - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
Location of the Java keystore file containing the collection of CA certificates trusted by this application process (trust store).
- TRUST_STORE_PASSWORD - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
Password to unlock the keystore file (store password) specified by
SystemProperty.TRUST_STORE_FILE. - TRUST_STORE_TYPE - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
For Java keystore file format, this property has the value "jks" (or "JKS").
U
- UNICODE - Enum constant in enum class org.refcodes.runtime.Terminal.CharSetCapability
-
Congratulations, the terminal seems to be capable of unicode (UTF-8).
- UNIX - Enum constant in enum class org.refcodes.runtime.OperatingSystem
-
Unix / Linux / BSD like operating system.
- UNKNOWN - Enum constant in enum class org.refcodes.runtime.OperatingSystem
-
Unknown operating system.
- UNKNOWN - Enum constant in enum class org.refcodes.runtime.Shell
- UNKNOWN - Enum constant in enum class org.refcodes.runtime.Terminal
-
Unknown, not one of the others.
- USER - Enum constant in enum class org.refcodes.runtime.SystemContext
-
Specifies a user specific granularity.
- USER_APPLICATION - Enum constant in enum class org.refcodes.runtime.SystemContext
-
Specifies a user specific granularity.
- USER_APPLICATION_SESSION - Enum constant in enum class org.refcodes.runtime.SystemContext
-
Specifies a Java runtime invokcation's session and a user specific granularity.
- USER_COUNTRY - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
System variable holding the user's login name.
- USER_DIR - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
Environment variable holding the user's current working directory path.
- USER_DIR - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
System variable holding the user's current working directory.
- USER_HOME - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of the executing user's home folder.
- USER_HOME - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
Environment variable holding the user's home folder path.
- USER_HOME - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
System variable holding the user's home folder path.
- USER_HOME_ALL - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of all the
USER_HOME_*folders. - USER_HOME_CONFIG - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of the
configfolder relative to the executing user's home folder. - USER_HOME_DOT_CONFIG - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of the
.configfolder relative to the executing user's home folder. - USER_HOME_DOT_ETC - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of the
.etcfolder relative to the executing user's home folder. - USER_HOME_DOT_SETTINGS - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of the
.settingsfolder relative to the executing user's home folder. - USER_HOME_ETC - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of the
etcfolder relative to the executing user's home folder. - USER_HOME_SETTINGS - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of the
settingsfolder relative to the executing user's home folder. - USER_HOME_WORKING_DIRECTORY_ALL - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Representation of all the
USER_HOME_*folders as well as the current user's current working directoryUSER_WORKING_DIRECTORY. - USER_LANGUAGE - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
System variable holding the user's login name.
- USER_NAME - Enum constant in enum class org.refcodes.runtime.EnvironmentVariable
-
Environment variable holding the user's current working directory path.
- USER_NAME - Enum constant in enum class org.refcodes.runtime.SystemProperty
-
System variable holding the user's login name.
- USER_SESSION - Enum constant in enum class org.refcodes.runtime.SystemContext
-
Specifies a Java runtime invokcation's session for a user specific granularity.
- USER_WORKING_DIRECTORY - Enum constant in enum class org.refcodes.runtime.ConfigLocator
-
Consider just the current user's current working directory.
V
- valueOf(String) - Static method in enum class org.refcodes.runtime.ConfigLocator
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.refcodes.runtime.Correlation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.refcodes.runtime.EnvironmentVariable
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.refcodes.runtime.NativeImageCode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.refcodes.runtime.NativeImageKind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.refcodes.runtime.OperatingSystem
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.refcodes.runtime.Shell
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.refcodes.runtime.SystemContext
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.refcodes.runtime.SystemProperty
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.refcodes.runtime.Terminal.CharSetCapability
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.refcodes.runtime.Terminal
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.refcodes.runtime.ConfigLocator
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.refcodes.runtime.Correlation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.refcodes.runtime.EnvironmentVariable
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.refcodes.runtime.NativeImageCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.refcodes.runtime.NativeImageKind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.refcodes.runtime.OperatingSystem
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.refcodes.runtime.Shell
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.refcodes.runtime.SystemContext
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.refcodes.runtime.SystemProperty
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.refcodes.runtime.Terminal.CharSetCapability
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.refcodes.runtime.Terminal
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VT100 - Enum constant in enum class org.refcodes.runtime.Terminal
-
vt100: a classic DEC terminal
- VT220 - Enum constant in enum class org.refcodes.runtime.Terminal
-
vt220: a popular terminal from Digital Equipment Corporation (DEC).
W
- WIN_CMD - Enum constant in enum class org.refcodes.runtime.Shell
-
MS Windows WIN_CMD.EXE
- WINDOWS - Enum constant in enum class org.refcodes.runtime.OperatingSystem
- WINDOWS - Enum constant in enum class org.refcodes.runtime.Terminal.CharSetCapability
-
A Windows terminal without (full) UTF-8 support.
- withKey(String) - Method in class org.refcodes.runtime.Configuration
- withObject(Object) - Method in class org.refcodes.runtime.DumpBuilder
X
- XTERM - Enum constant in enum class org.refcodes.runtime.Terminal
-
xterm: a generic terminal emulator for the X Window System.
- XTERM_256COLOR - Enum constant in enum class org.refcodes.runtime.Terminal
-
xterm-256color: an extended version of xterm with support for 256 colors.
All Classes and Interfaces|All Packages|Constant Field Values