Package | Description |
---|---|
com.saperion.config |
This package contains the JMX configuration part.
|
Modifier and Type | Method and Description |
---|---|
static SaJMXConstants.ConfigKey[] |
SaJMXConstants.getFileNames(SaJMXConstants.ConfigVariant cfgVariant)
Reads the default filenames for different configurations.
|
static SaJMXConstants.ConfigKey |
SaJMXConstants.ConfigKey.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SaJMXConstants.ConfigKey[] |
SaJMXConstants.ConfigKey.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SaJMXConfiguration.configureLog4j(SaJMXConstants.ConfigKey section)
Configures the Log4J system from the given section key.
|
boolean |
SaJMXConfiguration.getBooleanProperty(SaJMXConstants.ConfigKey configKey,
String name,
boolean defaultValue)
Reads boolean property with default value.
|
double |
SaJMXConfiguration.getDoubleProperty(SaJMXConstants.ConfigKey configKey,
String name,
double defaultValue)
Reads double property with default value.
|
File |
SaJMXConfiguration.getFileProperty(SaJMXConstants.ConfigKey configKey,
String name)
Reads file property.
|
int |
SaJMXConfiguration.getIntProperty(SaJMXConstants.ConfigKey configKey,
String name,
int defaultValue)
Reads integer property with default value.
|
File |
SaJMXConfiguration.getLinkProperty(SaJMXConstants.ConfigKey configKey)
Reads linked file property.
|
int |
SaJMXConfiguration.getNumberOfTokens(SaJMXConstants.ConfigKey configKey,
String propertyName,
String delimiter)
Reads a multivalue property and returns the number of tokens separated by
the given delimiter.
|
Properties |
SaJMXConfiguration.getProperties(SaJMXConstants.ConfigKey key)
Reads a property set.
|
String |
SaJMXConfiguration.getProperty(SaJMXConstants.ConfigKey configKey,
String key)
Returns the value for a given key from the given configuration.
|
String |
SaJMXConfiguration.getProperty(SaJMXConstants.ConfigKey configKey,
String key,
String defaultValue)
Returns the value for a given key from the given configuration with
default value.
|
String[] |
SaJMXConfiguration.getTokens(SaJMXConstants.ConfigKey configKey,
String propertyName,
String delimiter)
Reads a multivalue property separated by the given delimiter and returns
the values as String[].
|
boolean |
SaJMXConfiguration.hasProperty(SaJMXConstants.ConfigKey configKey,
String propertyName)
Returns true if the property with the given name exists within the given
configuration.
|
boolean |
SaJMXConfiguration.hasSection(SaJMXConstants.ConfigKey key)
Checks, if the given section exists.
|
void |
SaJMXConfiguration.setProperties(SaJMXConstants.ConfigKey key,
Properties props)
sets a property set to the already existing configuration.
|
Copyright © 2016 SAPERION AG. All rights reserved.