Package org.sonews.config
Klasse Config
java.lang.Object
org.sonews.config.AbstractConfig
org.sonews.config.Config
Configuration facade class.
- Seit:
- sonews/1.0
- Autor:
- Christian Lins
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final StringBackendConfig key constant.static final String[]static final Stringstatic final StringKey constant.static final StringBackendConfig key constant.static final Stringstatic final Stringstatic final Stringprivate static final Configstatic final intstatic final intprivate final org.slf4j.Loggerstatic final StringThe config key for the filename of the logfilestatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringMax. lifetime of an Article in storage (as days)static final StringMax. allowed articles in storage (used by Purger)static final Stringstatic final StringKey constant.static final StringKey constant.static final Stringstatic final StringKey constant.static final Stringstatic final Stringstatic final StringKey constant.static final Stringstatic final StringKey constant. -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Von Klasse geerbte Methoden org.sonews.config.AbstractConfig
get, get, get
-
Felddetails
-
LEVEL_CLI
public static final int LEVEL_CLI- Siehe auch:
-
LEVEL_FILE
public static final int LEVEL_FILE- Siehe auch:
-
CONFIGFILE
- Siehe auch:
-
ARTICLE_MAXSIZE
BackendConfig key constant. Value is the maximum article size in kilobytes.- Siehe auch:
-
EVENTLOG
BackendConfig key constant. Value: Amount of news that are feeded per run.- Siehe auch:
-
FEED_NEWSPERRUN
- Siehe auch:
-
FEED_PULLINTERVAL
- Siehe auch:
-
HOSTNAME
- Siehe auch:
-
PORT
- Siehe auch:
-
TIMEOUT
- Siehe auch:
-
LOGLEVEL
- Siehe auch:
-
MLPOLL_DELETEUNKNOWN
- Siehe auch:
-
MLPOLL_HOST
- Siehe auch:
-
MLPOLL_PASSWORD
- Siehe auch:
-
MLPOLL_USER
- Siehe auch:
-
MLSEND_ADDRESS
- Siehe auch:
-
MLSEND_RW_FROM
- Siehe auch:
-
MLSEND_RW_SENDER
- Siehe auch:
-
MLSEND_HOST
- Siehe auch:
-
MLSEND_PASSWORD
- Siehe auch:
-
MLSEND_PORT
- Siehe auch:
-
MLSEND_USER
- Siehe auch:
-
MLSEND_AUTH
- Siehe auch:
-
PERF_MAX_CACHED_BUFFERS
- Siehe auch:
-
DEBUG
Key constant. If value is "true" every I/O is written to logfile (which is a lot!)- Siehe auch:
-
STORAGE_ARTICLE_LIFETIME
Max. lifetime of an Article in storage (as days)- Siehe auch:
-
STORAGE_ARTICLE_MAXNUM
Max. allowed articles in storage (used by Purger)- Siehe auch:
-
STORAGE_DBMSDRIVER
Key constant. Value is classname of the JDBC driver- Siehe auch:
-
STORAGE_DATABASE
Key constant. Value is JDBC connect String to the database.- Siehe auch:
-
STORAGE_HOST
- Siehe auch:
-
STORAGE_USER
Key constant. Value is the username for the DBMS.- Siehe auch:
-
STORAGE_PASSWORD
Key constant. Value is the password for the DBMS.- Siehe auch:
-
STORAGE_PORT
- Siehe auch:
-
STORAGE_PROVIDER
- Siehe auch:
-
STORAGE_CONNECTIONS
- Siehe auch:
-
XDAEMON_HOST
Key constant. Value is the name of the host which is allowed to use the XDAEMON command; default: "localhost"- Siehe auch:
-
LOGFILE
The config key for the filename of the logfile- Siehe auch:
-
AVAILABLE_KEYS
-
instance
-
log
private final org.slf4j.Logger log
-
-
Konstruktordetails
-
Config
private Config()
-
-
Methodendetails
-
inst
-
get
- Angegeben von:
getin KlasseAbstractConfig
-
get
-
set
- Angegeben von:
setin KlasseAbstractConfig
-
set
-