Package org.sonews.config
Class Config
java.lang.Object
org.sonews.config.AbstractConfig
org.sonews.config.Config
Configuration facade class.
- Since:
- sonews/1.0
- Author:
- Christian Lins
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
BackendConfig key constant.static final String[]
static final String
static final String
Key constant.static final String
BackendConfig key constant.static final String
static final String
static final String
static final int
static final int
static final String
The config key for the filename of the logfilestatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Max. lifetime of an Article in storage (as days)static final String
Max. allowed articles in storage (used by Purger)static final String
static final String
Key constant.static final String
Key constant.static final String
static final String
Key constant.static final String
static final String
static final String
Key constant.static final String
static final String
Key constant. -
Method Summary
Methods inherited from class org.sonews.config.AbstractConfig
get, get, get
-
Field Details
-
LEVEL_CLI
public static final int LEVEL_CLI- See Also:
-
LEVEL_FILE
public static final int LEVEL_FILE- See Also:
-
CONFIGFILE
- See Also:
-
ARTICLE_MAXSIZE
BackendConfig key constant. Value is the maximum article size in kilobytes.- See Also:
-
EVENTLOG
BackendConfig key constant. Value: Amount of news that are feeded per run.- See Also:
-
FEED_NEWSPERRUN
- See Also:
-
FEED_PULLINTERVAL
- See Also:
-
HOSTNAME
- See Also:
-
PORT
- See Also:
-
TIMEOUT
- See Also:
-
LOGLEVEL
- See Also:
-
MLPOLL_DELETEUNKNOWN
- See Also:
-
MLPOLL_HOST
- See Also:
-
MLPOLL_PASSWORD
- See Also:
-
MLPOLL_USER
- See Also:
-
MLSEND_ADDRESS
- See Also:
-
MLSEND_RW_FROM
- See Also:
-
MLSEND_RW_SENDER
- See Also:
-
MLSEND_HOST
- See Also:
-
MLSEND_PASSWORD
- See Also:
-
MLSEND_PORT
- See Also:
-
MLSEND_USER
- See Also:
-
MLSEND_AUTH
- See Also:
-
PERF_MAX_CACHED_BUFFERS
- See Also:
-
DEBUG
Key constant. If value is "true" every I/O is written to logfile (which is a lot!)- See Also:
-
STORAGE_ARTICLE_LIFETIME
Max. lifetime of an Article in storage (as days)- See Also:
-
STORAGE_ARTICLE_MAXNUM
Max. allowed articles in storage (used by Purger)- See Also:
-
STORAGE_DBMSDRIVER
Key constant. Value is classname of the JDBC driver- See Also:
-
STORAGE_DATABASE
Key constant. Value is JDBC connect String to the database.- See Also:
-
STORAGE_HOST
- See Also:
-
STORAGE_USER
Key constant. Value is the username for the DBMS.- See Also:
-
STORAGE_PASSWORD
Key constant. Value is the password for the DBMS.- See Also:
-
STORAGE_PORT
- See Also:
-
STORAGE_PROVIDER
- See Also:
-
STORAGE_CONNECTIONS
- See Also:
-
XDAEMON_HOST
Key constant. Value is the name of the host which is allowed to use the XDAEMON command; default: "localhost"- See Also:
-
LOGFILE
The config key for the filename of the logfile- See Also:
-
AVAILABLE_KEYS
-
-
Method Details
-
inst
-
get
- Specified by:
get
in classAbstractConfig
-
get
-
set
- Specified by:
set
in classAbstractConfig
-
set
-