public class SubElementConfigKey<T> extends BasicConfigKey<T>
BasicConfigKey.BasicConfigKeyOverwriting<T>, BasicConfigKey.Builder<T>
ConfigKey.HasConfigKey<T>
Constructor and Description |
---|
SubElementConfigKey(ConfigKey parent,
java.lang.Class<T> type,
java.lang.String name) |
SubElementConfigKey(ConfigKey parent,
java.lang.Class<T> type,
java.lang.String name,
java.lang.String description) |
SubElementConfigKey(ConfigKey parent,
java.lang.Class<T> type,
java.lang.String name,
java.lang.String description,
T defaultValue) |
Modifier and Type | Method and Description |
---|---|
T |
extractValue(java.util.Map vals,
ExecutionContext exec)
Retrieves the value corresponding to this config key from the given map.
|
boolean |
isSet(java.util.Map<?,?> vals) |
builder, builder, builder, builder, builder, equals, getDefaultValue, getDescription, getInheritance, getName, getNameParts, getType, getTypeName, getTypeToken, hasDefaultValue, hashCode, isReconfigurable, toString
public final ConfigKey parent
public SubElementConfigKey(ConfigKey parent, java.lang.Class<T> type, java.lang.String name)
public SubElementConfigKey(ConfigKey parent, java.lang.Class<T> type, java.lang.String name, java.lang.String description)
public T extractValue(java.util.Map vals, ExecutionContext exec)
BasicConfigKey
extractValue
in interface ConfigKeySelfExtracting<T>
extractValue
in class BasicConfigKey<T>
public boolean isSet(java.util.Map<?,?> vals)
isSet
in interface ConfigKeySelfExtracting<T>
isSet
in class BasicConfigKey<T>