public class ServerConfig extends ApplicationConfig
| Modifier and Type | Field and Description |
|---|---|
static ServerHost |
defaultServerHost |
| Constructor and Description |
|---|
ServerConfig(ServerCommandLineParser clp) |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractServerConfiguration |
createDefaultServerConfigMap(java.io.File workspaceDir) |
protected ServerParams |
createServerParams() |
protected ServerStartup |
createServerStartup() |
java.io.File |
getConfigDir() |
java.io.File |
getDataDir() |
java.io.File |
getHistoryDir() |
java.io.File |
getLogDir()
Returns the given logDir, null if not specified.
|
ServerParams |
getServerParams() |
ServerStartup |
getServerStartup() |
java.io.File |
getTaskDir() |
java.io.File |
getWebDir() |
java.io.File |
getWorkspaceDir() |
boolean |
isPrintVersionOnly() |
boolean |
isShutdown() |
DumpString |
toDumpString(DumpString s)
This method allows subclasses to add values to the existing DumpString of the superclass.
|
ToString |
toString(ToString s)
This method allows subclasses to add values to the existing ToString of the superclass.
|
getApplicationName, getCustomVersion, getEspritVersion, getStartLogLevel, getStartLogLevel, isDemoMode, isLogToFile, isNoConsoleLog, isTestModeclone, deepCloneconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toStringpublic static final ServerHost defaultServerHost
public ServerConfig(ServerCommandLineParser clp) throws java.lang.Exception
java.lang.Exceptionprotected AbstractServerConfiguration createDefaultServerConfigMap(java.io.File workspaceDir)
public java.io.File getWorkspaceDir()
public java.io.File getConfigDir()
public java.io.File getDataDir()
public java.io.File getLogDir()
ApplicationConfiggetLogDir in class ApplicationConfigpublic java.io.File getTaskDir()
public java.io.File getHistoryDir()
public java.io.File getWebDir()
public boolean isPrintVersionOnly()
isPrintVersionOnly in class ApplicationConfigpublic boolean isShutdown()
public ServerParams getServerParams()
public ServerStartup getServerStartup()
protected ServerStartup createServerStartup() throws java.lang.Exception
java.lang.Exceptionprotected ServerParams createServerParams() throws java.lang.Exception
java.lang.Exceptionpublic ToString toString(ToString s)
DumpabletoString in interface DumpabletoString in class ApplicationConfigpublic DumpString toDumpString(DumpString s)
DumpabletoDumpString in interface DumpabletoDumpString in class ApplicationConfigCopyright © 2014 EsprIT-Systems. All Rights Reserved.