public class JarCollectorConfigImpl extends BaseConfig implements JarCollectorConfig
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_ENABLED |
static int |
DEFAULT_JARS_PER_SECOND |
static boolean |
DEFAULT_SKIP_TEMP_JARS |
static java.lang.String |
ENABLED |
static java.lang.String |
JARS_PER_SECOND |
static java.lang.String |
SKIP_TEMP_JARS |
static java.lang.String |
SYSTEM_PROPERTY_ROOT |
static java.lang.String |
SYSTEM_PROPERTY_ROOT_DEPRECATED |
addDeprecatedProperties, COMMA_SEPARATOR, deprecatedProperties, SEMI_COLON_SEPARATOR, systemPropertyPrefix| Constructor and Description |
|---|
JarCollectorConfigImpl(java.util.Map<java.lang.String,java.lang.Object> pProps) |
| Modifier and Type | Method and Description |
|---|---|
int |
getJarsPerSecond()
The maximum number of jars to process per second.
|
protected java.lang.Object |
getPropertyFromSystemEnvironment(java.lang.String name,
java.lang.Object defaultVal) |
protected java.lang.Object |
getPropertyFromSystemProperties(java.lang.String name,
java.lang.Object defaultVal) |
boolean |
isEnabled()
True if the
JarCollectorService is enabled, else false. |
static boolean |
isUsingDeprecatedConfigSettings()
Used to determine if a deprecated config setting was used
|
boolean |
skipTempJars()
True if temp jars should be skipped.
|
addDeprecatedProperty, castValue, clearDeprecatedProperties, getDoubleProperty, getIntegerSet, getIntProperty, getProperties, getProperty, getProperty, getStringPropertyOrNull, getSystemPropertyKey, getUniqueStrings, getUniqueStrings, getUniqueStringsFromCollection, getUniqueStringsFromCollection, getUniqueStringsFromString, nestedPropspublic static final java.lang.String ENABLED
public static final java.lang.String SKIP_TEMP_JARS
public static final java.lang.String JARS_PER_SECOND
public static final boolean DEFAULT_ENABLED
public static final boolean DEFAULT_SKIP_TEMP_JARS
public static final int DEFAULT_JARS_PER_SECOND
public static final java.lang.String SYSTEM_PROPERTY_ROOT_DEPRECATED
public static final java.lang.String SYSTEM_PROPERTY_ROOT
public JarCollectorConfigImpl(java.util.Map<java.lang.String,java.lang.Object> pProps)
public boolean isEnabled()
JarCollectorConfigJarCollectorService is enabled, else false.isEnabled in interface JarCollectorConfigtrue if the JarCollectorService is enabled.public boolean skipTempJars()
JarCollectorConfigskipTempJars in interface JarCollectorConfigtrue if temp jars should be skipped.public int getJarsPerSecond()
JarCollectorConfiggetJarsPerSecond in interface JarCollectorConfigprotected java.lang.Object getPropertyFromSystemEnvironment(java.lang.String name,
java.lang.Object defaultVal)
getPropertyFromSystemEnvironment in class BaseConfigprotected java.lang.Object getPropertyFromSystemProperties(java.lang.String name,
java.lang.Object defaultVal)
getPropertyFromSystemProperties in class BaseConfigpublic static boolean isUsingDeprecatedConfigSettings()