public class PropertyStore extends Object
Constructor and Description |
---|
PropertyStore()
Creates a new configuration map.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(String propertyName)
Returns true if the the property was set.
|
<T> T |
get(String propertyName)
Returns the property by name.
|
<T> T |
set(String propertyName,
T propertyValue)
Sets a property.
|
public boolean contains(String propertyName)
propertyName
- name of the propertypublic <T> T set(String propertyName, T propertyValue)
propertyName
- name of the property to setpropertyValue
- value of the property to setpublic <T> T get(String propertyName)
propertyName
- name of the propertyCopyright © 2006–2019 OPS4J - Open Participation Software for Java. All rights reserved.