Package org.pentaho.platform.config
Class ConsoleConfigXml
java.lang.Object
org.pentaho.platform.config.ConsoleConfigXml
- All Implemented Interfaces:
IConsoleConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final String -
Constructor Summary
ConstructorsConstructorDescriptionConsoleConfigXml(File consoleConfigXmlFile) ConsoleConfigXml(String xml) ConsoleConfigXml(org.dom4j.Document doc) -
Method Summary
Modifier and TypeMethodDescriptionorg.dom4j.DocumentvoidsetBackupDirectory(String path) voidsetBaseUrl(String url) voidsetDefaultBiServerDir(String defaultBiServerDir) voidsetDefaultRoles(String defaultRoles) voidsetHelpUrl(String url) voidsetHomePageTimeout(Integer timeout) voidsetHomePageUrl(String url) voidsetJdbcDriversClassPath(String classpath) voidsetPlatformUserName(String platformUserName) voidsetServerStatusCheckPeriod(Long biServerStatusCheckPeriod) voidsetSolutionPath(String solutionPath) voidsetTempDirectory(String path) voidvoidsetWebAppPath(String warPath) voidsetXmlEncoding(String encoding)
-
Field Details
-
ROOT_ELEMENT
- See Also:
-
CHECK_PERIOD_XPATH
- See Also:
-
PLATFORM_USERNAME_XPATH
- See Also:
-
SOLUTION_PATH_XPATH
- See Also:
-
WAR_PATH_XPATH
- See Also:
-
TEMP_DIR_PATH_XPATH
- See Also:
-
BACKUP_DIR_PATH_XPATH
- See Also:
-
HELP_URL_XPATH
- See Also:
-
JDBC_DRIVERS_XPATH
- See Also:
-
DEFAULT_ROLES_XPATH
- See Also:
-
HOME_PAGE_TIMEOUT_XPATH
- See Also:
-
HOME_PAGE_URL_XPATH
- See Also:
-
XML_ENCODING_XPATH
- See Also:
-
BASE_URL_XPATH
- See Also:
-
DEFAULT_SERVER_DIR_XPATH
- See Also:
-
-
Constructor Details
-
ConsoleConfigXml
- Throws:
IOExceptionorg.dom4j.DocumentException
-
ConsoleConfigXml
- Throws:
org.dom4j.DocumentException
-
ConsoleConfigXml
public ConsoleConfigXml(org.dom4j.Document doc) throws org.dom4j.DocumentException - Throws:
org.dom4j.DocumentException
-
ConsoleConfigXml
public ConsoleConfigXml()
-
-
Method Details
-
getBaseUrl
- Specified by:
getBaseUrlin interfaceIConsoleConfig
-
setBaseUrl
- Specified by:
setBaseUrlin interfaceIConsoleConfig
-
getServerStatusCheckPeriod
- Specified by:
getServerStatusCheckPeriodin interfaceIConsoleConfig
-
setServerStatusCheckPeriod
- Specified by:
setServerStatusCheckPeriodin interfaceIConsoleConfig
-
getHomePageTimeout
- Specified by:
getHomePageTimeoutin interfaceIConsoleConfig
-
setHomePageTimeout
- Specified by:
setHomePageTimeoutin interfaceIConsoleConfig
-
getHomePageUrl
- Specified by:
getHomePageUrlin interfaceIConsoleConfig
-
setHomePageUrl
- Specified by:
setHomePageUrlin interfaceIConsoleConfig
-
getHelpUrl
- Specified by:
getHelpUrlin interfaceIConsoleConfig
-
setHelpUrl
- Specified by:
setHelpUrlin interfaceIConsoleConfig
-
getJdbcDriversClassPath
- Specified by:
getJdbcDriversClassPathin interfaceIConsoleConfig
-
setJdbcDriversClassPath
- Specified by:
setJdbcDriversClassPathin interfaceIConsoleConfig
-
getDefaultRoles
- Specified by:
getDefaultRolesin interfaceIConsoleConfig
-
setDefaultRoles
- Specified by:
setDefaultRolesin interfaceIConsoleConfig
-
getPlatformUserName
- Specified by:
getPlatformUserNamein interfaceIConsoleConfig
-
setPlatformUserName
- Specified by:
setPlatformUserNamein interfaceIConsoleConfig
-
getSolutionPath
- Specified by:
getSolutionPathin interfaceIConsoleConfig
-
setSolutionPath
- Specified by:
setSolutionPathin interfaceIConsoleConfig
-
getWebAppPath
- Specified by:
getWebAppPathin interfaceIConsoleConfig
-
setWebAppPath
- Specified by:
setWebAppPathin interfaceIConsoleConfig
-
getTempDirectory
- Specified by:
getTempDirectoryin interfaceIConsoleConfig
-
setTempDirectory
- Specified by:
setTempDirectoryin interfaceIConsoleConfig
-
getBackupDirectory
- Specified by:
getBackupDirectoryin interfaceIConsoleConfig
-
setBackupDirectory
- Specified by:
setBackupDirectoryin interfaceIConsoleConfig
-
setValue
-
getDefaultBiServerDir
- Specified by:
getDefaultBiServerDirin interfaceIConsoleConfig
-
setDefaultBiServerDir
- Specified by:
setDefaultBiServerDirin interfaceIConsoleConfig
-
getValue
-
getXmlEncoding
- Specified by:
getXmlEncodingin interfaceIConsoleConfig
-
setXmlEncoding
- Specified by:
setXmlEncodingin interfaceIConsoleConfig
-
getDocument
public org.dom4j.Document getDocument()
-