Package org.refcodes.runtime
REFCODES.ORG toolkit.
This package bundles functionality related to the execution environment,
system interaction and runtime introspection. It includes utilities for
accessing platform characteristics such as the OperatingSystem,
Shell and Host, as well as facilities for working with system
properties and environment variables via SystemProperty and
EnvironmentVariable.
In addition, this package provides a lightweight diagnostics model based on
the Diagnosable interface. Implementations can expose their internal
state as structured Schema representations to
support debugging, inspection and documentation.
The Options type extends Settings by resolving values from
multiple runtime sources (such as provided values, system properties and
environment variables) while preserving information about their origin.
Diagnostic behavior can be configured via DiagnosticOptions.
The Settings is colocated in this package as a reusable, dynamic
configuration container that underpins runtime features such as options
resolution and diagnostics, as it is particularly well suited for scenarios
where properties are not known at compile time but emerge dynamically at
runtime.
Overall, this package forms the foundation for interacting with and introspecting the runtime environment in a structured and extensible manner.
-
ClassDescriptionThis utility class provides method useful for working with command line arguments (as of
public static void main(String[] args)).This enumeration represents configuration folder locations (of typeFile) and configuration file retrieval as of the chosen configuration mode.TheCorrelationassigns 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.TheDiagnosablemixin provides means for a data structure to describe itself as a diagnostic report generating aSchemahierarchy configured by (optional)Options.TheDiagnosticOptionenumeration defines known options supported by theDiagnosticOptionsclass.TheDiagnosticOptionsrepresent a set of options influencing how aDiagnosableinstance renders its runtime diagnosticsSchema.Builder for creatingDiagnosticOptionsinstances.EnvironmentVariablefor retrieving some common environment variables with ease.Utility for acquiring runtime information on software systems, classes or objects.This class indicates a non existing value in the name-to-value mapping.TheHosttype abstracts the computer system on which this application runs on.Defines the values of theSystemProperty.NATIVE_IMAGE_CODEsystem property.Defines the values of theSystemProperty.NATIVE_IMAGE_KINDsystem property.Enumeration with the (supported) operating systems.TheOptionsclass serves as a generic information container for providing arbitrary, optional parameters and interfaces with the runtime environment: TheOptionscontainer provides flexible, extensible configuration lookup with support for explicit values, JVM system properties, and environment variables.Builder for creatingOptionsinstances.TheSettingstype serves as a flexible, namespace-aware container for providing arbitrary metadata and dynamic configuration properties.Builder for creatingSettingsinstances.Enumeration with the (relevant) shells (command line interpreters).Describes the context within a system's environment regarding host, user and application contexts as well as the currently invoked Java runtime session.SystemPropertydefine values to be used at runtime.Enumeration with the (relevant) terminals as well as interpolated terminal metrics.TheTerminal.CharSetCapabilitydefines three categories of character capabilities as observed on various platform.