org.refcodes.mixin.KeyAccessor<String>
, org.refcodes.mixin.KeyAccessor.KeyBuilder<String,PropertyBuilder>
, org.refcodes.mixin.KeyAccessor.KeyMutator<String>
, org.refcodes.mixin.KeyAccessor.KeyProperty<String>
PropertyBuilderImpl
public interface PropertyBuilder extends org.refcodes.mixin.KeyAccessor.KeyProperty<String>, org.refcodes.mixin.KeyAccessor.KeyBuilder<String,PropertyBuilder>
org.refcodes.mixin.KeyAccessor.KeyBuilder<K extends Object,B extends org.refcodes.mixin.KeyAccessor.KeyBuilder<K,B>>, org.refcodes.mixin.KeyAccessor.KeyMutator<K extends Object>, org.refcodes.mixin.KeyAccessor.KeyProperty<K extends Object>
Modifier and Type | Method | Description |
---|---|---|
default String |
getEnvironmentVariable() |
Returns the according environment variable after having converted the key
as of
KeyAccessor.getKey() to an environment variable. |
String |
getEnvironmentVariable(String aKey) |
Returns the according environment variable after having converted the
provided key to an environment variable.
|
default String |
getSystemProperty() |
Returns the according system's property after having converted the key as
of
KeyAccessor.getKey() to a system property. |
String |
getSystemProperty(String aKey) |
Returns the according system's property after having converted the
provided key to a system property.
|
default String |
toEnvironmentVariable() |
Converts the key as of
KeyAccessor.getKey() to an environment variable. |
String |
toEnvironmentVariable(String aKey) |
Converts the provided key to an environment variable.
|
default String |
toPath() |
Converts the key as of
KeyAccessor.getKey() to a path (as of
PathMap ). |
String |
toPath(String aKey) |
Converts the provided key as of
KeyAccessor.getKey() to a path (as of
PathMap ). |
default String |
toSystemProperty() |
Converts the key as of
KeyAccessor.getKey() to a system property. |
String |
toSystemProperty(String aKey) |
Converts the provided key to a system property.
|
default String toPath()
KeyAccessor.getKey()
to a path (as of
PathMap
). A path begins with a path delimiter "/" (as of
Delimiter.PATH
and with all non alphanumeric digits being
replaced by the path delimiter. Any non alphanumeric sequence is
truncated to a single path delimiter.String toPath(String aKey)
KeyAccessor.getKey()
to a path (as of
PathMap
). A path begins with a path delimiter "/" (as of
Delimiter.PATH
and with all non alphanumeric digits being
replaced by the path delimiter. Any non alphanumeric sequence is
truncated to a single path delimiter.aKey
- The key to be converted.default String toSystemProperty()
KeyAccessor.getKey()
to a system property. A system
property is the camel-case version of the according key.default String toEnvironmentVariable()
KeyAccessor.getKey()
to an environment variable. An
environment variable is the upper-case snake-case version of the
according key.String toSystemProperty(String aKey)
aKey
- The key to be converted.String toEnvironmentVariable(String aKey)
aKey
- The key to be converted.default String getSystemProperty()
KeyAccessor.getKey()
to a system property. A system property is the
camel-case version of the according key.default String getEnvironmentVariable()
KeyAccessor.getKey()
to an environment variable. An environment
variable is the upper-case snake-case version of the according key.String getSystemProperty(String aKey)
aKey
- The value of the key to be converted.String getEnvironmentVariable(String aKey)
aKey
- The value of the key to be converted.Copyright © 2018. All rights reserved.