public class SystemPropertyConfiguration extends HierarchicalConfiguration
| Constructor and Description |
|---|
SystemPropertyConfiguration()
Creates a report configuration that includes all the system properties (whether they are
related to reports or not).
|
| Modifier and Type | Method and 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, configurationLoaded, findPropertyKeys, getConfigProperty, getConfiguration, getParentConfig, insertConfiguration, isParentSaved, setParentConfigpublic 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)
If the property is not defined in this configuration, the code will lookup the property in the parent configuration.
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(java.lang.String)public java.util.Enumeration getConfigProperties()
getConfigProperties in interface ModifiableConfigurationgetConfigProperties in interface ConfigurationgetConfigProperties in class HierarchicalConfiguration