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