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 AbstractServerConfigMap |
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, isTestMode
clone, copy
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toString
public static final ServerHost defaultServerHost
public ServerConfig(ServerCommandLineParser clp) throws java.lang.Exception
java.lang.Exception
protected AbstractServerConfigMap 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()
ApplicationConfig
getLogDir
in class ApplicationConfig
public java.io.File getTaskDir()
public java.io.File getHistoryDir()
public java.io.File getWebDir()
public boolean isPrintVersionOnly()
isPrintVersionOnly
in class ApplicationConfig
public boolean isShutdown()
public ServerParams getServerParams()
public ServerStartup getServerStartup()
protected ServerStartup createServerStartup() throws java.lang.Exception
java.lang.Exception
protected ServerParams createServerParams() throws java.lang.Exception
java.lang.Exception
public ToString toString(ToString s)
Dumpable
toString
in interface Dumpable
toString
in class ApplicationConfig
public DumpString toDumpString(DumpString s)
Dumpable
toDumpString
in interface Dumpable
toDumpString
in class ApplicationConfig
Copyright © 2013 EsprIT-Systems. All Rights Reserved.