public class ConsoleConfigXml extends Object implements IConsoleConfig
Modifier and Type | Field and Description |
---|---|
protected static String |
BACKUP_DIR_PATH_XPATH |
protected static String |
BASE_URL_XPATH |
protected static String |
CHECK_PERIOD_XPATH |
protected static String |
DEFAULT_ROLES_XPATH |
protected static String |
DEFAULT_SERVER_DIR_XPATH |
protected static String |
HELP_URL_XPATH |
protected static String |
HOME_PAGE_TIMEOUT_XPATH |
protected static String |
HOME_PAGE_URL_XPATH |
protected static String |
JDBC_DRIVERS_XPATH |
protected static String |
PLATFORM_USERNAME_XPATH |
protected static String |
ROOT_ELEMENT |
protected static String |
SOLUTION_PATH_XPATH |
protected static String |
TEMP_DIR_PATH_XPATH |
protected static String |
WAR_PATH_XPATH |
protected static String |
XML_ENCODING_XPATH |
Constructor and Description |
---|
ConsoleConfigXml() |
ConsoleConfigXml(org.dom4j.Document doc) |
ConsoleConfigXml(File consoleConfigXmlFile) |
ConsoleConfigXml(String xml) |
protected static final String ROOT_ELEMENT
protected static final String CHECK_PERIOD_XPATH
protected static final String PLATFORM_USERNAME_XPATH
protected static final String SOLUTION_PATH_XPATH
protected static final String WAR_PATH_XPATH
protected static final String TEMP_DIR_PATH_XPATH
protected static final String BACKUP_DIR_PATH_XPATH
protected static final String HELP_URL_XPATH
protected static final String JDBC_DRIVERS_XPATH
protected static final String DEFAULT_ROLES_XPATH
protected static final String HOME_PAGE_TIMEOUT_XPATH
protected static final String HOME_PAGE_URL_XPATH
protected static final String XML_ENCODING_XPATH
protected static final String BASE_URL_XPATH
protected static final String DEFAULT_SERVER_DIR_XPATH
public ConsoleConfigXml(File consoleConfigXmlFile) throws IOException, org.dom4j.DocumentException
IOException
org.dom4j.DocumentException
public ConsoleConfigXml(String xml) throws org.dom4j.DocumentException
org.dom4j.DocumentException
public ConsoleConfigXml(org.dom4j.Document doc) throws org.dom4j.DocumentException
org.dom4j.DocumentException
public ConsoleConfigXml()
public String getBaseUrl()
getBaseUrl
in interface IConsoleConfig
public void setBaseUrl(String url)
setBaseUrl
in interface IConsoleConfig
public Long getServerStatusCheckPeriod()
getServerStatusCheckPeriod
in interface IConsoleConfig
public void setServerStatusCheckPeriod(Long biServerStatusCheckPeriod)
setServerStatusCheckPeriod
in interface IConsoleConfig
public Integer getHomePageTimeout()
getHomePageTimeout
in interface IConsoleConfig
public void setHomePageTimeout(Integer timeout)
setHomePageTimeout
in interface IConsoleConfig
public String getHomePageUrl()
getHomePageUrl
in interface IConsoleConfig
public void setHomePageUrl(String url)
setHomePageUrl
in interface IConsoleConfig
public String getHelpUrl()
getHelpUrl
in interface IConsoleConfig
public void setHelpUrl(String url)
setHelpUrl
in interface IConsoleConfig
public String getJdbcDriversClassPath()
getJdbcDriversClassPath
in interface IConsoleConfig
public void setJdbcDriversClassPath(String classpath)
setJdbcDriversClassPath
in interface IConsoleConfig
public String getDefaultRoles()
getDefaultRoles
in interface IConsoleConfig
public void setDefaultRoles(String defaultRoles)
setDefaultRoles
in interface IConsoleConfig
public String getPlatformUserName()
getPlatformUserName
in interface IConsoleConfig
public void setPlatformUserName(String platformUserName)
setPlatformUserName
in interface IConsoleConfig
public String getSolutionPath()
getSolutionPath
in interface IConsoleConfig
public void setSolutionPath(String solutionPath)
setSolutionPath
in interface IConsoleConfig
public String getWebAppPath()
getWebAppPath
in interface IConsoleConfig
public void setWebAppPath(String warPath)
setWebAppPath
in interface IConsoleConfig
public String getTempDirectory()
getTempDirectory
in interface IConsoleConfig
public void setTempDirectory(String path)
setTempDirectory
in interface IConsoleConfig
public String getBackupDirectory()
getBackupDirectory
in interface IConsoleConfig
public void setBackupDirectory(String path)
setBackupDirectory
in interface IConsoleConfig
public String getDefaultBiServerDir()
getDefaultBiServerDir
in interface IConsoleConfig
public void setDefaultBiServerDir(String defaultBiServerDir)
setDefaultBiServerDir
in interface IConsoleConfig
public String getXmlEncoding()
getXmlEncoding
in interface IConsoleConfig
public void setXmlEncoding(String encoding)
setXmlEncoding
in interface IConsoleConfig
public org.dom4j.Document getDocument()
Copyright © 2021 Hitachi Vantara. All rights reserved.