public class ConfigKeys
extends java.lang.Object
ConfigKey
entries.Modifier and Type | Class and Description |
---|---|
static class |
ConfigKeys.DynamicKeys |
static class |
ConfigKeys.InheritanceContext |
Constructor and Description |
---|
ConfigKeys() |
Modifier and Type | Method and Description |
---|---|
static <T> BasicConfigKey.Builder<T,?> |
builder(<any> type) |
static <T> BasicConfigKey.Builder<T,?> |
builder(<any> type,
java.lang.String name) |
static <T> BasicConfigKey.Builder<T,?> |
builder(java.lang.Class<T> type) |
static <T> BasicConfigKey.Builder<T,?> |
builder(java.lang.Class<T> type,
java.lang.String name) |
static <T> ConfigKey<T> |
convert(ConfigKey<T> key,
CaseFormat inputCaseStrategy,
CaseFormat outputCaseStrategy)
converts the name of the key from one case-strategy (e.g.
|
static ConfigKey<java.lang.Boolean> |
newBooleanConfigKey(java.lang.String name) |
static ConfigKey<java.lang.Boolean> |
newBooleanConfigKey(java.lang.String name,
java.lang.String description) |
static ConfigKey<java.lang.Boolean> |
newBooleanConfigKey(java.lang.String name,
java.lang.String description,
java.lang.Boolean defaultValue) |
static <T> ConfigKey<T> |
newConfigKey(<any> type,
java.lang.String name) |
static <T> ConfigKey<T> |
newConfigKey(<any> type,
java.lang.String name,
java.lang.String description) |
static <T> ConfigKey<T> |
newConfigKey(<any> type,
java.lang.String name,
java.lang.String description,
T defaultValue) |
static <T> ConfigKey<T> |
newConfigKey(java.lang.Class<T> type,
java.lang.String name) |
static <T> ConfigKey<T> |
newConfigKey(java.lang.Class<T> type,
java.lang.String name,
java.lang.String description) |
static <T> ConfigKey<T> |
newConfigKey(java.lang.Class<T> type,
java.lang.String name,
java.lang.String description,
T defaultValue) |
static <T> ConfigKey<T> |
newConfigKey(java.lang.String name,
java.lang.String description,
T defaultValue)
Infers the type from the default value
|
static <T> ConfigKey<T> |
newConfigKeyRenamed(java.lang.String newName,
ConfigKey<T> key) |
static <T> ConfigKey<T> |
newConfigKeyWithDefault(ConfigKey<T> parent,
java.lang.String newDescription,
T defaultValue) |
static <T> ConfigKey<T> |
newConfigKeyWithDefault(ConfigKey<T> parent,
T defaultValue) |
static <T> ConfigKey<T> |
newConfigKeyWithPrefix(java.lang.String prefix,
ConfigKey<T> key) |
static <T> ConfigKey<T> |
newConfigKeyWithPrefixRemoved(java.lang.String prefix,
ConfigKey<T> key) |
static ConfigKey<java.lang.Double> |
newDoubleConfigKey(java.lang.String name) |
static ConfigKey<java.lang.Double> |
newDoubleConfigKey(java.lang.String name,
java.lang.String description) |
static ConfigKey<java.lang.Double> |
newDoubleConfigKey(java.lang.String name,
java.lang.String description,
java.lang.Double defaultValue) |
static ConfigKey<Duration> |
newDurationConfigKey(java.lang.String name) |
static ConfigKey<Duration> |
newDurationConfigKey(java.lang.String name,
java.lang.String description) |
static ConfigKey<Duration> |
newDurationConfigKey(java.lang.String name,
java.lang.String description,
Duration defaultValue) |
static ConfigKey<java.lang.Integer> |
newIntegerConfigKey(java.lang.String name) |
static ConfigKey<java.lang.Integer> |
newIntegerConfigKey(java.lang.String name,
java.lang.String description) |
static ConfigKey<java.lang.Integer> |
newIntegerConfigKey(java.lang.String name,
java.lang.String description,
java.lang.Integer defaultValue) |
static AttributeSensorAndConfigKey<java.lang.Integer,java.lang.Integer> |
newIntegerSensorAndConfigKey(java.lang.String name,
java.lang.String description) |
static AttributeSensorAndConfigKey<java.lang.Integer,java.lang.Integer> |
newIntegerSensorAndConfigKey(java.lang.String name,
java.lang.String description,
java.lang.Integer defaultValue) |
static ConfigKey<java.lang.Long> |
newLongConfigKey(java.lang.String name) |
static ConfigKey<java.lang.Long> |
newLongConfigKey(java.lang.String name,
java.lang.String description) |
static ConfigKey<java.lang.Long> |
newLongConfigKey(java.lang.String name,
java.lang.String description,
java.lang.Long defaultValue) |
static PortAttributeSensorAndConfigKey |
newPortSensorAndConfigKey(java.lang.String name,
java.lang.String description) |
static PortAttributeSensorAndConfigKey |
newPortSensorAndConfigKey(java.lang.String name,
java.lang.String description,
java.lang.Object defaultValue) |
static PortAttributeSensorAndConfigKey |
newPortSensorAndConfigKeyWithDefault(PortAttributeSensorAndConfigKey parent,
java.lang.Object defaultValue) |
static <T> AttributeSensorAndConfigKey<T,T> |
newSensorAndConfigKey(<any> type,
java.lang.String name,
java.lang.String description) |
static <T> AttributeSensorAndConfigKey<T,T> |
newSensorAndConfigKey(<any> type,
java.lang.String name,
java.lang.String description,
T defaultValue) |
static <T> AttributeSensorAndConfigKey<T,T> |
newSensorAndConfigKey(java.lang.Class<T> type,
java.lang.String name,
java.lang.String description) |
static <T> AttributeSensorAndConfigKey<T,T> |
newSensorAndConfigKey(java.lang.Class<T> type,
java.lang.String name,
java.lang.String description,
T defaultValue) |
static <T> AttributeSensorAndConfigKey<T,T> |
newSensorAndConfigKeyWithDefault(AttributeSensorAndConfigKey<T,T> parent,
T defaultValue) |
static ConfigKey<java.lang.String> |
newStringConfigKey(java.lang.String name) |
static ConfigKey<java.lang.String> |
newStringConfigKey(java.lang.String name,
java.lang.String description) |
static ConfigKey<java.lang.String> |
newStringConfigKey(java.lang.String name,
java.lang.String description,
java.lang.String defaultValue) |
static AttributeSensorAndConfigKey<java.lang.String,java.lang.String> |
newStringSensorAndConfigKey(java.lang.String name,
java.lang.String description) |
static AttributeSensorAndConfigKey<java.lang.String,java.lang.String> |
newStringSensorAndConfigKey(java.lang.String name,
java.lang.String description,
java.lang.String defaultValue) |
static AttributeSensorAndConfigKey<java.lang.String,java.lang.String> |
newTemplateSensorAndConfigKey(java.lang.String name,
java.lang.String description) |
static AttributeSensorAndConfigKey<java.lang.String,java.lang.String> |
newTemplateSensorAndConfigKey(java.lang.String name,
java.lang.String description,
java.lang.String defaultValue) |
public static <T> ConfigKey<T> newConfigKey(java.lang.Class<T> type, java.lang.String name)
public static <T> ConfigKey<T> newConfigKey(java.lang.Class<T> type, java.lang.String name, java.lang.String description)
public static <T> ConfigKey<T> newConfigKey(<any> type, java.lang.String name)
public static <T> ConfigKey<T> newConfigKey(<any> type, java.lang.String name, java.lang.String description)
public static <T> ConfigKey<T> newConfigKey(java.lang.Class<T> type, java.lang.String name, java.lang.String description, T defaultValue)
public static <T> ConfigKey<T> newConfigKey(<any> type, java.lang.String name, java.lang.String description, T defaultValue)
public static <T> AttributeSensorAndConfigKey<T,T> newSensorAndConfigKey(java.lang.Class<T> type, java.lang.String name, java.lang.String description)
public static <T> AttributeSensorAndConfigKey<T,T> newSensorAndConfigKey(java.lang.Class<T> type, java.lang.String name, java.lang.String description, T defaultValue)
public static <T> AttributeSensorAndConfigKey<T,T> newSensorAndConfigKey(<any> type, java.lang.String name, java.lang.String description)
public static <T> AttributeSensorAndConfigKey<T,T> newSensorAndConfigKey(<any> type, java.lang.String name, java.lang.String description, T defaultValue)
public static AttributeSensorAndConfigKey<java.lang.String,java.lang.String> newStringSensorAndConfigKey(java.lang.String name, java.lang.String description)
public static AttributeSensorAndConfigKey<java.lang.String,java.lang.String> newStringSensorAndConfigKey(java.lang.String name, java.lang.String description, java.lang.String defaultValue)
public static AttributeSensorAndConfigKey<java.lang.String,java.lang.String> newTemplateSensorAndConfigKey(java.lang.String name, java.lang.String description)
public static AttributeSensorAndConfigKey<java.lang.String,java.lang.String> newTemplateSensorAndConfigKey(java.lang.String name, java.lang.String description, java.lang.String defaultValue)
public static AttributeSensorAndConfigKey<java.lang.Integer,java.lang.Integer> newIntegerSensorAndConfigKey(java.lang.String name, java.lang.String description)
public static AttributeSensorAndConfigKey<java.lang.Integer,java.lang.Integer> newIntegerSensorAndConfigKey(java.lang.String name, java.lang.String description, java.lang.Integer defaultValue)
public static PortAttributeSensorAndConfigKey newPortSensorAndConfigKey(java.lang.String name, java.lang.String description)
public static PortAttributeSensorAndConfigKey newPortSensorAndConfigKey(java.lang.String name, java.lang.String description, java.lang.Object defaultValue)
public static <T> ConfigKey<T> newConfigKey(java.lang.String name, java.lang.String description, @Nonnull T defaultValue)
public static <T> BasicConfigKey.Builder<T,?> builder(java.lang.Class<T> type)
public static <T> BasicConfigKey.Builder<T,?> builder(<any> type)
public static <T> BasicConfigKey.Builder<T,?> builder(java.lang.Class<T> type, java.lang.String name)
public static <T> BasicConfigKey.Builder<T,?> builder(<any> type, java.lang.String name)
public static <T> ConfigKey<T> newConfigKeyWithDefault(ConfigKey<T> parent, T defaultValue)
public static <T> ConfigKey<T> newConfigKeyWithDefault(ConfigKey<T> parent, java.lang.String newDescription, T defaultValue)
public static <T> AttributeSensorAndConfigKey<T,T> newSensorAndConfigKeyWithDefault(AttributeSensorAndConfigKey<T,T> parent, T defaultValue)
public static PortAttributeSensorAndConfigKey newPortSensorAndConfigKeyWithDefault(PortAttributeSensorAndConfigKey parent, java.lang.Object defaultValue)
public static <T> ConfigKey<T> newConfigKeyRenamed(java.lang.String newName, ConfigKey<T> key)
public static <T> ConfigKey<T> newConfigKeyWithPrefix(java.lang.String prefix, ConfigKey<T> key)
public static <T> ConfigKey<T> newConfigKeyWithPrefixRemoved(java.lang.String prefix, ConfigKey<T> key)
public static <T> ConfigKey<T> convert(ConfigKey<T> key, CaseFormat inputCaseStrategy, CaseFormat outputCaseStrategy)
public static ConfigKey<java.lang.String> newStringConfigKey(java.lang.String name)
public static ConfigKey<java.lang.String> newStringConfigKey(java.lang.String name, java.lang.String description)
public static ConfigKey<java.lang.String> newStringConfigKey(java.lang.String name, java.lang.String description, java.lang.String defaultValue)
public static ConfigKey<java.lang.Integer> newIntegerConfigKey(java.lang.String name)
public static ConfigKey<java.lang.Integer> newIntegerConfigKey(java.lang.String name, java.lang.String description)
public static ConfigKey<java.lang.Integer> newIntegerConfigKey(java.lang.String name, java.lang.String description, java.lang.Integer defaultValue)
public static ConfigKey<java.lang.Long> newLongConfigKey(java.lang.String name)
public static ConfigKey<java.lang.Long> newLongConfigKey(java.lang.String name, java.lang.String description)
public static ConfigKey<java.lang.Long> newLongConfigKey(java.lang.String name, java.lang.String description, java.lang.Long defaultValue)
public static ConfigKey<java.lang.Double> newDoubleConfigKey(java.lang.String name)
public static ConfigKey<java.lang.Double> newDoubleConfigKey(java.lang.String name, java.lang.String description)
public static ConfigKey<java.lang.Double> newDoubleConfigKey(java.lang.String name, java.lang.String description, java.lang.Double defaultValue)
public static ConfigKey<java.lang.Boolean> newBooleanConfigKey(java.lang.String name)
public static ConfigKey<java.lang.Boolean> newBooleanConfigKey(java.lang.String name, java.lang.String description)
public static ConfigKey<java.lang.Boolean> newBooleanConfigKey(java.lang.String name, java.lang.String description, java.lang.Boolean defaultValue)
public static ConfigKey<Duration> newDurationConfigKey(java.lang.String name, java.lang.String description)