public class ConfigKey extends Object
Modifier | Constructor and Description |
---|---|
protected |
ConfigKey(String type,
String description,
String alternateKey,
String key,
String value,
String[] validValues,
String version,
ValueHelper helper) |
Modifier and Type | Method and Description |
---|---|
String |
getAlternateKeys() |
String |
getDescription() |
String |
getDisplayValue() |
String |
getKey() |
String |
getType() |
List<String> |
getValidValues() |
String |
getValue() |
ValueHelper |
getValueHelper() |
String |
getVersion() |
void |
safeSetValue(String value)
Sets the value of this Config key to the given value.
|
void |
setAlternateKey(String alternateKey) |
void |
setDescription(String description) |
void |
setKey(String key) |
void |
setType(String type) |
void |
setVersion(String version) |
String |
toString() |
void |
unsafeSetValue(String value)
Sets the value of this ConfigKey to the given value without validation.
|
public void setVersion(String version)
public String getType()
public String getDescription()
public String getAlternateKeys()
public String getKey()
public String getValue()
public void setType(String type)
public void setDescription(String description)
public void setAlternateKey(String alternateKey)
public void setKey(String key)
public void safeSetValue(String value) throws InvalidParameterException, Exception
value
- The value to setInvalidParameterException
Exception
public void unsafeSetValue(String value)
value
- public String getVersion()
public ValueHelper getValueHelper()
Copyright © 2012. All Rights Reserved.