public final class Config
extends java.lang.Object
java.lang.System.setProperty.| Modifier and Type | Field and Description | 
|---|---|
private static java.util.Map<java.lang.String,java.lang.String> | 
properties  | 
| Constructor and Description | 
|---|
Config()  | 
| Modifier and Type | Method and Description | 
|---|---|
static java.lang.String | 
getProperty(java.lang.String key)
If property is already set it returns appropriate value, otherwise returns
  null
 | 
static java.lang.String | 
getProperty(java.lang.String key,
If property is already set it returns appropriate value, otherwise returns
 default value as a second parameter. 
 | 
static void | 
setProperty(java.lang.String key,
Sets the property by given key. 
 | 
null
- Parameters:
 key - Key of appropriate value. 
- Returns:
 - Property value
 - Since:
 
  - UES8-07
 
- 
getProperty
public static java.lang.String getProperty(java.lang.String key,
java.lang.String defaultValue)
If property is already set it returns appropriate value, otherwise returns
 default value as a second parameter.
- Parameters:
 key - Key of appropriate value.defaultValue - Default value is returned if there is no value set with
          given key 
- Returns:
 - Property value, or defaultValue
 - Since:
 
  - UES8-07
 
 
- 
setProperty
public static void setProperty(java.lang.String key,
java.lang.String value)
Sets the property by given key. If there already exists value with given
 key, old value is overwritten.
- Parameters:
 key - value - - Since:
 
  - UES8-07