public class ApplicationConfig extends TransferableObject
Constructor and Description |
---|
ApplicationConfig() |
ApplicationConfig(ApplicationCommandLineParser clp) |
ApplicationConfig(java.lang.String applicationName)
This constructor should only be used if a command line is not available.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApplicationName()
Returns the application-name configured for this client.
|
Version |
getCustomVersion() |
Version |
getEspritVersion() |
java.io.File |
getLogDir()
Returns the given logDir, null if not specified.
|
LogLevel |
getStartLogLevel()
Returns the logLevel given in the command-line or null if none was specified.
|
LogLevel |
getStartLogLevel(LogLevel defaultLogLevel)
Returns the logLevel given in the command-line or defaultLogLevel if none was specified.
|
boolean |
isDemoMode() |
boolean |
isLogToFile() |
boolean |
isNoConsoleLog() |
boolean |
isPrintVersionOnly() |
boolean |
isTestMode() |
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.
|
clone, deepClone
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toString
public ApplicationConfig()
public ApplicationConfig(java.lang.String applicationName)
public ApplicationConfig(ApplicationCommandLineParser clp)
public Version getCustomVersion()
public Version getEspritVersion()
public boolean isNoConsoleLog()
public boolean isTestMode()
public boolean isDemoMode()
public boolean isPrintVersionOnly()
public boolean isLogToFile()
public java.io.File getLogDir()
public LogLevel getStartLogLevel()
public LogLevel getStartLogLevel(LogLevel defaultLogLevel)
public java.lang.String getApplicationName()
public ToString toString(ToString s)
Dumpable
toString
in interface Dumpable
toString
in class DumpableObject
public DumpString toDumpString(DumpString s)
Dumpable
toDumpString
in interface Dumpable
toDumpString
in class DumpableObject
Copyright © 2014 EsprIT-Systems. All Rights Reserved.