Package org.pentaho.platform.api.engine
Interface ISystemConfig
public interface ISystemConfig
User: nbaker Date: 4/2/13
-
Method Summary
Modifier and TypeMethodDescriptiongetConfiguration
(String configId) getProperty
(String placeholder) 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.void
registerConfiguration
(IConfiguration configuration)
-
Method Details
-
getConfiguration
-
getProperty
-
getProperty
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;
null
otherwise.
-
registerConfiguration
- Throws:
IOException
-
listConfigurations
IConfiguration[] listConfigurations()
-