Package org.refcodes.runtime
This package contains runtime related interfaces and enumerations. Runtime
related functionality is e.g. represented by the
OperatingSystem
enumeration with which to
determine the host's OS or the Shell
enumeration
with which to determine the underlying shell.
The types with which this artifact's codes work usually are represented by interfaces (as of interface based programming).
-
Interface Summary Interface Description DumpBuilder TheDumpBuilder
assists you in inspecting the content of an object.PropertyBuilder Converts a key to the format of a system property (camel-case) or an environment variable (snake-case in upper-case).RequestCorrelation<B extends RequestCorrelation<B>> Provides methods to set Request-Correlation behavior: When enabled viaRequestCorrelation.setRequestCorrelation(boolean)
(or the like), then an existing Request-Correlation-ID might be forwarded by setting it into theCorrelation
singleton viaCorrelation.REQUEST
'sCorrelation.setId(String)
.SessionCorrelation<B extends SessionCorrelation<B>> Provides methods to set Session-Correlation behavior: When enabled viaSessionCorrelation.setSessionCorrelation(boolean)
(or the like), then an existing Session-Correlation-ID might be forwarded by setting it into theCorrelation
singleton viaCorrelation.SESSION
'sCorrelation.setId(String)
. -
Class Summary Class Description DumpBuilderImpl Extend theDumpBuilderImpl.toDump(Object, Map)
wit aList
if visited objects and a "nested"-counter and dig recursively into the object.EnvironmentUtility Utility class with helpful methods for working with a system's environment variables.ProcessResult Retrieves the Result of the given process asString
.PropertyBuilderImpl The Class PropertyBuilderImpl.ReflectionUtility The Class ReflectionUtility.ReflectionUtility.NonExistingValueClass This class indicates a non existing value in the name-to-value mapping.RuntimeUtility Utility for acquiring runtime information on software systems, classes or objects.SystemUtility Utility for acquiring system information on the machine this process is running in. -
Enum Summary Enum Description ConfigLocator This enumeration represents configuration folder locations (of typeFile
) and configuration file retrieval as of the chosen configuration mode.Correlation TheCorrelation
assigns an according (as of the enumeration) Correlation-ID to the invoking process, this ID 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.OperatingSystem Enumeration with the (supported) operating systems.Shell Enumeration with the (relevant) shells (command line interpreters).SystemContext Describes the context within a system's environment regarding host, user and application contexts as well as the currently invoked Java runtime session.Terminal Enumeration with the (relevant) terminals as well as interpolated terminal metrics.