Package org.pentaho.platform.api.engine
Interface ISystemConfig
- 
public interface ISystemConfigUser: nbaker Date: 4/2/13 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description IConfigurationgetConfiguration(String configId)StringgetProperty(String placeholder)default StringgetProperty(String placeholder, String defaultValue)Gets the value of a property if it is defined, falling back to a given default value, otherwise.IConfiguration[]listConfigurations()voidregisterConfiguration(IConfiguration configuration) 
 - 
 
- 
- 
Method Detail
- 
getConfiguration
IConfiguration getConfiguration(String configId)
 
- 
getProperty
default String getProperty(String placeholder, String defaultValue)
Gets the value of a property if it is defined, falling back to a given default value, otherwise.- Parameters:
 placeholder- A property placeholder in the format"configId.property".defaultValue- The value returned when a property is not defined, i.e., the value returned byIConfiguration.getProperties()and then byProperties.getProperty(String)isnull.- Returns:
 - The value of the given property, when defined; 
nullotherwise. 
 
- 
registerConfiguration
void registerConfiguration(IConfiguration configuration) throws IOException
- Throws:
 IOException
 
- 
listConfigurations
IConfiguration[] listConfigurations()
 
 - 
 
 -