| java.lang.Object | |
| ↳ | com.pnfsoftware.jeb.core.properties.impl.CommonsConfigurationWrapper |
This class wraps Apache Commons Configuration v2 objects. Such objects implement IConfiguration,
and can be managed by IPropertyManagers.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
CommonsConfigurationWrapper(Configuration cfg)
Create a wrapper.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void |
clearProperty(String key)
Remove a property from the configuration object.
| ||||||||||
| Set<String> |
getAllPropertyKeys()
Get the collection of all property keys held by this configuration object.
| ||||||||||
| Object |
getProperty(String key)
Retrieve a property value.
| ||||||||||
| void |
setProperty(String key, Object value)
Set a property value.
| ||||||||||
| String | toString() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.pnfsoftware.jeb.core.properties.IConfiguration
| |||||||||||
Create a wrapper.
| cfg | the Apache configuration object to be managed |
|---|
Remove a property from the configuration object.
| key | the property key |
|---|
Get the collection of all property keys held by this configuration object.
Retrieve a property value.
| key | the property key |
|---|
Set a property value.
| key | the property key |
|---|---|
| value | the property value |