|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISystemSettings
The SystemSettings manages the platform's overall configuration settings. These settings by default can be found in the system tree in an xml file named "pentaho.xml."
Method Summary | |
---|---|
String |
getSystemCfgSourceName()
Gets the name of the source of the system configurations. |
String |
getSystemSetting(String settingName,
String defaultValue)
Gets a system setting from the system configuration file |
String |
getSystemSetting(String path,
String settingName,
String defaultValue)
Gets a system setting from the system path |
List |
getSystemSettings(String settingSection)
Gets a section from the system system configuration file |
List |
getSystemSettings(String path,
String settingSection)
Gets a section from the specified settings document |
org.dom4j.Document |
getSystemSettingsDocument(String actionPath)
Returns a Document object containing the settings document within the path specified by actionPath. |
Properties |
getSystemSettingsProperties(String path)
Gets a properties file from the solution. |
void |
resetSettingsCache()
The SystemSettings object caches each settings document once it's read in. |
Method Detail |
---|
String getSystemCfgSourceName()
String getSystemSetting(String path, String settingName, String defaultValue)
path
- relative to the "system" directory, go to this documentsettingName
- the setting name to getdefaultValue
- the value to use if the setting isn't specified in the setting
document
String getSystemSetting(String settingName, String defaultValue)
settingName
- the setting name to getdefaultValue
- the value to use if the setting isn't specified in the setting
document
List getSystemSettings(String path, String settingSection)
path
- relative to the system directory, go to this documentsettingSection
- the section is the document to retrieve
List getSystemSettings(String settingSection)
settingSection
- the section to retrieve
void resetSettingsCache()
org.dom4j.Document getSystemSettingsDocument(String actionPath)
actionPath
- The XML document relative to the solution that contains the
settings desired
Properties getSystemSettingsProperties(String path)
path
- Relative path to the properties file within the solution
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |