|
||||||||||
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 | |
---|---|
java.lang.String |
getSystemCfgSourceName()
Gets the name of the source of the system configurations. |
java.lang.String |
getSystemSetting(java.lang.String settingName,
java.lang.String defaultValue)
Gets a system setting from the system configuration file |
java.lang.String |
getSystemSetting(java.lang.String path,
java.lang.String settingName,
java.lang.String defaultValue)
Gets a system setting from the system path |
java.util.List |
getSystemSettings(java.lang.String settingSection)
Gets a section from the system system configuration file |
java.util.List |
getSystemSettings(java.lang.String path,
java.lang.String settingSection)
Gets a section from the specified settings document |
org.dom4j.Document |
getSystemSettingsDocument(java.lang.String actionPath)
Returns a Document object containing the settings document within the path specified by actionPath. |
java.util.Properties |
getSystemSettingsProperties(java.lang.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 |
---|
java.lang.String getSystemCfgSourceName()
java.lang.String getSystemSetting(java.lang.String path, java.lang.String settingName, java.lang.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
java.lang.String getSystemSetting(java.lang.String settingName, java.lang.String defaultValue)
settingName
- the setting name to getdefaultValue
- the value to use if the setting isn't specified in the setting
document
java.util.List getSystemSettings(java.lang.String path, java.lang.String settingSection)
path
- relative to the system directory, go to this documentsettingSection
- the section is the document to retrieve
java.util.List getSystemSettings(java.lang.String settingSection)
settingSection
- the section to retrieve
void resetSettingsCache()
org.dom4j.Document getSystemSettingsDocument(java.lang.String actionPath)
actionPath
- The XML document relative to the solution that contains the
settings desired
java.util.Properties getSystemSettingsProperties(java.lang.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 |