public interface PropertyBuilder extends org.refcodes.mixin.KeyAccessor.KeyProperty<String>, org.refcodes.mixin.KeyAccessor.KeyBuilder<String,PropertyBuilder>
Type | Property and Description |
---|---|
default String |
toSystem
Converts the key as of
KeyAccessor.getKey() to a system property. |
Modifier and Type | Method and 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 toSystemProperty
KeyAccessor.getKey()
to a system property. A system
property is the camel-case version of the according key.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.