Package org.pentaho.platform.config
Class ConsoleConfigXml
java.lang.Object
org.pentaho.platform.config.ConsoleConfigXml
- All Implemented Interfaces:
IConsoleConfig
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
-
Constructor Summary
ConstructorDescriptionConsoleConfigXml
(File consoleConfigXmlFile) ConsoleConfigXml
(String xml) ConsoleConfigXml
(org.dom4j.Document doc) -
Method Summary
Modifier and TypeMethodDescriptionorg.dom4j.Document
void
setBackupDirectory
(String path) void
setBaseUrl
(String url) void
setDefaultBiServerDir
(String defaultBiServerDir) void
setDefaultRoles
(String defaultRoles) void
setHelpUrl
(String url) void
setHomePageTimeout
(Integer timeout) void
setHomePageUrl
(String url) void
setJdbcDriversClassPath
(String classpath) void
setPlatformUserName
(String platformUserName) void
setServerStatusCheckPeriod
(Long biServerStatusCheckPeriod) void
setSolutionPath
(String solutionPath) void
setTempDirectory
(String path) void
void
setWebAppPath
(String warPath) void
setXmlEncoding
(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:
IOException
org.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:
getBaseUrl
in interfaceIConsoleConfig
-
setBaseUrl
- Specified by:
setBaseUrl
in interfaceIConsoleConfig
-
getServerStatusCheckPeriod
- Specified by:
getServerStatusCheckPeriod
in interfaceIConsoleConfig
-
setServerStatusCheckPeriod
- Specified by:
setServerStatusCheckPeriod
in interfaceIConsoleConfig
-
getHomePageTimeout
- Specified by:
getHomePageTimeout
in interfaceIConsoleConfig
-
setHomePageTimeout
- Specified by:
setHomePageTimeout
in interfaceIConsoleConfig
-
getHomePageUrl
- Specified by:
getHomePageUrl
in interfaceIConsoleConfig
-
setHomePageUrl
- Specified by:
setHomePageUrl
in interfaceIConsoleConfig
-
getHelpUrl
- Specified by:
getHelpUrl
in interfaceIConsoleConfig
-
setHelpUrl
- Specified by:
setHelpUrl
in interfaceIConsoleConfig
-
getJdbcDriversClassPath
- Specified by:
getJdbcDriversClassPath
in interfaceIConsoleConfig
-
setJdbcDriversClassPath
- Specified by:
setJdbcDriversClassPath
in interfaceIConsoleConfig
-
getDefaultRoles
- Specified by:
getDefaultRoles
in interfaceIConsoleConfig
-
setDefaultRoles
- Specified by:
setDefaultRoles
in interfaceIConsoleConfig
-
getPlatformUserName
- Specified by:
getPlatformUserName
in interfaceIConsoleConfig
-
setPlatformUserName
- Specified by:
setPlatformUserName
in interfaceIConsoleConfig
-
getSolutionPath
- Specified by:
getSolutionPath
in interfaceIConsoleConfig
-
setSolutionPath
- Specified by:
setSolutionPath
in interfaceIConsoleConfig
-
getWebAppPath
- Specified by:
getWebAppPath
in interfaceIConsoleConfig
-
setWebAppPath
- Specified by:
setWebAppPath
in interfaceIConsoleConfig
-
getTempDirectory
- Specified by:
getTempDirectory
in interfaceIConsoleConfig
-
setTempDirectory
- Specified by:
setTempDirectory
in interfaceIConsoleConfig
-
getBackupDirectory
- Specified by:
getBackupDirectory
in interfaceIConsoleConfig
-
setBackupDirectory
- Specified by:
setBackupDirectory
in interfaceIConsoleConfig
-
setValue
-
getDefaultBiServerDir
- Specified by:
getDefaultBiServerDir
in interfaceIConsoleConfig
-
setDefaultBiServerDir
- Specified by:
setDefaultBiServerDir
in interfaceIConsoleConfig
-
getValue
-
getXmlEncoding
- Specified by:
getXmlEncoding
in interfaceIConsoleConfig
-
setXmlEncoding
- Specified by:
setXmlEncoding
in interfaceIConsoleConfig
-
getDocument
public org.dom4j.Document getDocument()
-