java.io.Serializable, java.lang.Cloneable, Configuration, ModifiableConfigurationpublic class SystemPropertyConfiguration extends HierarchicalConfiguration
| Constructor | Description |
|---|---|
SystemPropertyConfiguration() |
Creates a report configuration that includes all the system properties (whether they are
related to reports or not).
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Enumeration |
getConfigProperties() |
Returns all defined configuration properties for the report.
|
java.lang.String |
getConfigProperty(java.lang.String key,
java.lang.String defaultValue) |
Returns the configuration property with the specified key (or the specified default value
if there is no such property).
|
boolean |
isLocallyDefined(java.lang.String key) |
Checks, whether the given key is locally defined in the system properties.
|
void |
setConfigProperty(java.lang.String key,
java.lang.String value) |
Sets a configuration property.
|
clone, findPropertyKeys, getConfigProperty, insertConfigurationpublic SystemPropertyConfiguration()
PropertyFileConfiguration.public void setConfigProperty(java.lang.String key,
java.lang.String value)
setConfigProperty in interface ModifiableConfigurationsetConfigProperty in class HierarchicalConfigurationkey - the property key.value - the property value.public java.lang.String getConfigProperty(java.lang.String key,
java.lang.String defaultValue)
getConfigProperty in interface ConfigurationgetConfigProperty in class HierarchicalConfigurationkey - the property key.defaultValue - the default value.public boolean isLocallyDefined(java.lang.String key)
isLocallyDefined in class HierarchicalConfigurationkey - the key that should be checked.HierarchicalConfiguration.isLocallyDefined(String)public java.util.Enumeration getConfigProperties()
getConfigProperties in interface ConfigurationgetConfigProperties in interface ModifiableConfigurationgetConfigProperties in class HierarchicalConfiguration