public interface ConfigStorage
Modifier and Type | Method and Description |
---|---|
boolean |
isAvailable(String configPath)
Tests, whether some configuration data exists for the given configuration.
|
org.pentaho.reporting.libraries.base.config.Configuration |
load(String configPath,
org.pentaho.reporting.libraries.base.config.Configuration defaults)
Loads the properties from the given path, specifying the given properties as default.
|
void |
store(String configPath,
org.pentaho.reporting.libraries.base.config.Configuration properties)
Stores the given properties on the defined path.
|
void store(String configPath, org.pentaho.reporting.libraries.base.config.Configuration properties) throws ConfigStoreException
configPath
- the path on where to store the properties.properties
- the properties which should be stored.ConfigStoreException
- if an error occured.org.pentaho.reporting.libraries.base.config.Configuration load(String configPath, org.pentaho.reporting.libraries.base.config.Configuration defaults) throws ConfigStoreException
configPath
- the configuration path from where to read the properties.defaults
- the property set that acts as fallback to provide default values.ConfigStoreException
- if an error occured.boolean isAvailable(String configPath)
configPath
- the configuration path to the property storage.