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 |
|---|---|
Enumeration<String> |
getConfigProperties()
Returns all defined configuration properties for the report.
|
String |
getConfigProperty(String key,
String defaultValue)
Returns the configuration property with the specified key (or the specified default value
if there is no such property).
|
boolean |
isLocallyDefined(String key)
Checks, whether the given key is locally defined in the system properties.
|
void |
setConfigProperty(String key,
String value)
Sets a configuration property.
|
addAll, clone, findPropertyKeys, getConfigProperty, insertConfiguration, reconnectConfigurationpublic SystemPropertyConfiguration()
PropertyFileConfiguration.public void setConfigProperty(String key, String value)
setConfigProperty in interface ModifiableConfigurationsetConfigProperty in class HierarchicalConfigurationkey - the property key.value - the property value.public String getConfigProperty(String key, String defaultValue)
getConfigProperty in interface ConfigurationgetConfigProperty in class HierarchicalConfigurationkey - the property key.defaultValue - the default value.public boolean isLocallyDefined(String key)
isLocallyDefined in class HierarchicalConfigurationkey - the key that should be checked.HierarchicalConfiguration.isLocallyDefined(String)public Enumeration<String> getConfigProperties()
getConfigProperties in interface ConfigurationgetConfigProperties in class HierarchicalConfiguration