org.schemarepo.config
Class Config

java.lang.Object
  extended by org.schemarepo.config.Config

public class Config
extends Object

Class containing the configuration keys and default values.


Field Summary
static String CLIENT_RETURN_NONE_ON_EXCEPTIONS
           
static String CLIENT_SERVER_URL
           
static String DEFAULT_SUBJECT_VALIDATORS
           
static Properties DEFAULTS
           
static String JETTY_BUFFER_SIZE
           
static String JETTY_GRACEFUL_SHUTDOWN
           
static String JETTY_HEADER_SIZE
           
static String JETTY_HOST
           
static String JETTY_PORT
           
static String JETTY_STOP_AT_SHUTDOWN
           
static String JSON_UTIL_IMPLEMENTATION
           
static String LOCAL_FILE_SYSTEM_PATH
           
static String LOGGING_ROUTE_JUL_TO_SLF4J
           
static String REPO_CACHE
           
static String REPO_CLASS
           
static String VALIDATION_PREFIX
           
static String VALIDATOR_PREFIX
           
static String ZK_CONNECTION_TIMEOUT
           
static String ZK_CURATOR_NUMBER_OF_RETRIES
           
static String ZK_CURATOR_SLEEP_TIME_BETWEEN_RETRIES
           
static String ZK_ENSEMBLE
           
static String ZK_PATH_PREFIX
           
static String ZK_SESSION_TIMEOUT
           
 
Constructor Summary
Config()
           
 
Method Summary
static String getDefault(String propertyName)
           
static Integer getIntDefault(String propertyName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REPO_CLASS

public static final String REPO_CLASS
See Also:
Constant Field Values

REPO_CACHE

public static final String REPO_CACHE
See Also:
Constant Field Values

VALIDATOR_PREFIX

public static final String VALIDATOR_PREFIX
See Also:
Constant Field Values

VALIDATION_PREFIX

public static final String VALIDATION_PREFIX
See Also:
Constant Field Values

DEFAULT_SUBJECT_VALIDATORS

public static final String DEFAULT_SUBJECT_VALIDATORS
See Also:
Constant Field Values

JETTY_HOST

public static final String JETTY_HOST
See Also:
Constant Field Values

JETTY_PORT

public static final String JETTY_PORT
See Also:
Constant Field Values

JETTY_HEADER_SIZE

public static final String JETTY_HEADER_SIZE
See Also:
Constant Field Values

JETTY_BUFFER_SIZE

public static final String JETTY_BUFFER_SIZE
See Also:
Constant Field Values

JETTY_STOP_AT_SHUTDOWN

public static final String JETTY_STOP_AT_SHUTDOWN
See Also:
Constant Field Values

JETTY_GRACEFUL_SHUTDOWN

public static final String JETTY_GRACEFUL_SHUTDOWN
See Also:
Constant Field Values

LOGGING_ROUTE_JUL_TO_SLF4J

public static final String LOGGING_ROUTE_JUL_TO_SLF4J
See Also:
Constant Field Values

LOCAL_FILE_SYSTEM_PATH

public static final String LOCAL_FILE_SYSTEM_PATH
See Also:
Constant Field Values

ZK_ENSEMBLE

public static final String ZK_ENSEMBLE
See Also:
Constant Field Values

ZK_PATH_PREFIX

public static final String ZK_PATH_PREFIX
See Also:
Constant Field Values

ZK_SESSION_TIMEOUT

public static final String ZK_SESSION_TIMEOUT
See Also:
Constant Field Values

ZK_CONNECTION_TIMEOUT

public static final String ZK_CONNECTION_TIMEOUT
See Also:
Constant Field Values

ZK_CURATOR_SLEEP_TIME_BETWEEN_RETRIES

public static final String ZK_CURATOR_SLEEP_TIME_BETWEEN_RETRIES
See Also:
Constant Field Values

ZK_CURATOR_NUMBER_OF_RETRIES

public static final String ZK_CURATOR_NUMBER_OF_RETRIES
See Also:
Constant Field Values

CLIENT_SERVER_URL

public static final String CLIENT_SERVER_URL
See Also:
Constant Field Values

CLIENT_RETURN_NONE_ON_EXCEPTIONS

public static final String CLIENT_RETURN_NONE_ON_EXCEPTIONS
See Also:
Constant Field Values

JSON_UTIL_IMPLEMENTATION

public static final String JSON_UTIL_IMPLEMENTATION
See Also:
Constant Field Values

DEFAULTS

public static final Properties DEFAULTS
Constructor Detail

Config

public Config()
Method Detail

getDefault

public static String getDefault(String propertyName)

getIntDefault

public static Integer getIntDefault(String propertyName)


Copyright © 2015. All rights reserved.