Returns the serialized format as of the ResourceProperties.ResourcePropertiesBuilder
instance being produced upon invocation of the
PolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory.toProperties(Properties) method.

Returns the serialized format as of the ResourceProperties.ResourcePropertiesBuilder
instance being produced upon invocation of the
PolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory.toProperties(Properties) method.

Constructor Detail

RuntimePropertiesImpl

public RuntimePropertiesImpl()

Constructs a RuntimeProperties instance with no Condition
for parsing command line arguments. As no syntax notation is required by
the constructor (no root Condition), no syntax validation is
done. Therefore the properties are heuristically determined from the
provided command line arguments when invoking
RuntimeProperties.withEvalArgs(String[]).

RuntimePropertiesImpl

public RuntimePropertiesImpl​(java.lang.String[] aArgs)

Constructs a RuntimeProperties instance with no Condition
for parsing command line arguments: As no syntax notation is required by
the constructor (no root Condition), no syntax validation is
done. Therefore the properties are heuristically determined from the
provided command line arguments.

Parameters:

aArgs - The command line arguments to be evaluated.

RuntimePropertiesImpl

public RuntimePropertiesImpl​(org.refcodes.console.Condition aRootCondition)

Constructs a RuntimeProperties instance with the given
Condition used to parse command line arguments.

Parameters:

aRootCondition - The root condition being the node from which
parsing the command line arguments starts. Parse the command line
arguments via evalArgs(String[]).

RuntimePropertiesImpl

public RuntimePropertiesImpl​(org.refcodes.runtime.SystemContext aObfuscationMode)

aObfuscationMode - The SystemContext specifies which level
of obfuscation is to be used when encountering upon obfuscated
properties: E.g. obfuscation may be bound to the host, the
"secret" used for obfuscation being the same for all applications
on the same host or obfuscation may be bound to the application,
being different for different applications on the same host.

RuntimePropertiesImpl

Constructs a RuntimeProperties instance with no Condition
for parsing command line arguments: As no syntax notation is required by
the constructor (no root Condition), no syntax validation is
done. Therefore the properties are heuristically determined from the
provided command line arguments. Also constructs the
RuntimeProperties with the given obfuscation mode

Parameters:

aArgs - The command line arguments to be evaluated.

aObfuscationMode - The SystemContext specifies which level
of obfuscation is to be used when encountering upon obfuscated
properties: E.g. obfuscation may be bound to the host, the
"secret" used for obfuscation being the same for all applications
on the same host or obfuscation may be bound to the application,
being different for different applications on the same host.

RuntimePropertiesImpl

Constructs a RuntimeProperties instance with the given
Condition used to parse command line arguments. Also constructs
the RuntimeProperties with the given obfuscation mode.

Parameters:

aRootCondition - The root condition being the node from which
parsing the command line arguments starts. Parse the command line
arguments via evalArgs(String[]).

aObfuscationMode - The SystemContext specifies which level
of obfuscation is to be used when encountering upon obfuscated
properties: E.g. obfuscation may be bound to the host, the
"secret" used for obfuscation being the same for all applications
on the same host or obfuscation may be bound to the application,
being different for different applications on the same host.

RuntimePropertiesImpl

Constructs a RuntimeProperties instance with no Condition
for parsing command line arguments: As no syntax notation is required by
the constructor (no root Condition), no syntax validation is
done. Therefore the properties are heuristically determined from the
provided command line arguments. Also constructs a
RuntimeProperties instance with a custom secret for obfuscation.

Parameters:

aArgs - The command line arguments to be evaluated.

aSecret - The secret to be used when encountering upon obfuscated
properties.

RuntimePropertiesImpl

Constructs a RuntimeProperties instance with the given
Condition used to parse command line arguments. Also constructs a
RuntimeProperties instance with a custom secret for obfuscation.

Parameters:

aRootCondition - The root condition being the node from which
parsing the command line arguments starts. Parse the command line
arguments via evalArgs(String[]).

aSecret - The secret to be used when encountering upon obfuscated
properties.

RuntimePropertiesImpl

public RuntimePropertiesImpl​(org.refcodes.configuration.PolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory aPropertiesBuilderFactory)

Constructs a RuntimeProperties instance with no Condition
for parsing command line arguments. As no syntax notation is required by
the constructor (no root Condition), no syntax validation is
done. Therefore the properties are heuristically determined from the
provided command line arguments when invoking
RuntimeProperties.withEvalArgs(String[]).

Parameters:

aPropertiesBuilderFactory - The factory to use when constructing
ResourceProperties instances.

RuntimePropertiesImpl

Constructs a RuntimeProperties instance with no Condition
for parsing command line arguments: As no syntax notation is required by
the constructor (no root Condition), no syntax validation is
done. Therefore the properties are heuristically determined from the
provided command line arguments.

Parameters:

aPropertiesBuilderFactory - The factory to use when constructing
ResourceProperties instances.

aPropertiesBuilderFactory - The factory to use when constructing
ResourceProperties instances.

aObfuscationMode - The SystemContext specifies which level
of obfuscation is to be used when encountering upon obfuscated
properties: E.g. obfuscation may be bound to the host, the
"secret" used for obfuscation being the same for all applications
on the same host or obfuscation may be bound to the application,
being different for different applications on the same host.

Constructs a RuntimeProperties instance with no Condition
for parsing command line arguments: As no syntax notation is required by
the constructor (no root Condition), no syntax validation is
done. Therefore the properties are heuristically determined from the
provided command line arguments. Also constructs the
RuntimeProperties with the given obfuscation mode

Parameters:

aPropertiesBuilderFactory - The factory to use when constructing
ResourceProperties instances.

aArgs - The command line arguments to be evaluated.

aObfuscationMode - The SystemContext specifies which level
of obfuscation is to be used when encountering upon obfuscated
properties: E.g. obfuscation may be bound to the host, the
"secret" used for obfuscation being the same for all applications
on the same host or obfuscation may be bound to the application,
being different for different applications on the same host.

Constructs a RuntimeProperties instance with the given
Condition used to parse command line arguments. Also constructs
the RuntimeProperties with the given obfuscation mode.

Parameters:

aPropertiesBuilderFactory - The factory to use when constructing
ResourceProperties instances.

aRootCondition - The root condition being the node from which
parsing the command line arguments starts. Parse the command line
arguments via evalArgs(String[]).

aObfuscationMode - The SystemContext specifies which level
of obfuscation is to be used when encountering upon obfuscated
properties: E.g. obfuscation may be bound to the host, the
"secret" used for obfuscation being the same for all applications
on the same host or obfuscation may be bound to the application,
being different for different applications on the same host.

RuntimePropertiesImpl

Constructs a RuntimeProperties instance with no Condition
for parsing command line arguments: As no syntax notation is required by
the constructor (no root Condition), no syntax validation is
done. Therefore the properties are heuristically determined from the
provided command line arguments. Also constructs a
RuntimeProperties instance with a custom secret for obfuscation.

Parameters:

aPropertiesBuilderFactory - The factory to use when constructing
ResourceProperties instances.

aArgs - The command line arguments to be evaluated.

aSecret - The secret to be used when encountering upon obfuscated
properties.

setObfuscationMode

aObfuscationMode - The SystemContext specifies which level
of obfuscation is to be used when encountering upon obfuscated
properties: E.g. obfuscation may be bound to the host, the
"secret" used for obfuscation being the same for all applications
on the same host or obfuscation may be bound to the application,
being different for different applications on the same host.

toSerialized

public java.lang.String toSerialized()

Returns the serialized format as of the ResourceProperties.ResourcePropertiesBuilder
instance being produced upon invocation of the
PolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory.toProperties(Properties) method.
The behavior of this method is implementation specific. See the javadoc
of the implementation in question (such as
toSerialized()) for implementation details.

toSerialized

public java.lang.String toSerialized​(char aDelimiter)

Returns the serialized format as of the ResourceProperties.ResourcePropertiesBuilder
instance being produced upon invocation of the
PolyglotPropertiesBuilder.PolyglotPropertiesBuilderFactory.toProperties(Properties) method.
The behavior of this method is implementation specific. See the javadoc
of the implementation in question (such as
toSerialized()) for implementation details.