public class MapConfigKey<V> extends AbstractStructuredConfigKey<java.util.Map<java.lang.String,V>,java.util.Map<java.lang.String,java.lang.Object>,V>
SubElementConfigKey
)
MapConfigKey.MapModification
from MapConfigKey.MapModifications
to clear, clear-and-set, or update
a.map.subkey=1
will cause getConfig(a.map[type=MapConfigKey])
to return {subkey=1}; but note the above are preferred where possible)
Modifier and Type | Class and Description |
---|---|
static class |
MapConfigKey.Builder<V> |
static interface |
MapConfigKey.MapModification<V> |
static class |
MapConfigKey.MapModificationBase<V> |
static class |
MapConfigKey.MapModifications |
BasicConfigKey.BasicConfigKeyOverwriting<T>
StructuredConfigKey.StructuredModification<T extends StructuredConfigKey>, StructuredConfigKey.StructuredModifications
ConfigKey.HasConfigKey<T>
Constructor and Description |
---|
MapConfigKey(<any> subType,
java.lang.String name) |
MapConfigKey(<any> subType,
java.lang.String name,
java.lang.String description) |
MapConfigKey(<any> subType,
java.lang.String name,
java.lang.String description,
java.util.Map<java.lang.String,V> defaultValue) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
applyValueToMap(java.lang.Object value,
java.util.Map target)
for internal use
|
static <V> MapConfigKey.Builder<V> |
builder(MapConfigKey<V> key) |
ConfigKey<V> |
subKey(java.lang.String subName) |
ConfigKey<V> |
subKey(java.lang.String subName,
java.lang.String description) |
java.lang.String |
toString() |
acceptsKeyMatch, acceptsSubkey, acceptsSubkeyStronglyTyped, extractSubKeyName, extractValue, isSet, rawValue
builder, builder, builder, equals, getConstraint, getDefaultValue, getDeprecatedNames, getDescription, getInheritance, getInheritanceByContext, getInheritanceByContext, getName, getNameParts, getParentInheritance, getType, getTypeInheritance, getTypeName, getTypeToken, hasDefaultValue, hashCode, isReconfigurable, isValueValid
public MapConfigKey(<any> subType, java.lang.String name)
public MapConfigKey(<any> subType, java.lang.String name, java.lang.String description)
public MapConfigKey(<any> subType, java.lang.String name, java.lang.String description, java.util.Map<java.lang.String,V> defaultValue)
public static <V> MapConfigKey.Builder<V> builder(MapConfigKey<V> key)
public java.lang.String toString()
toString
in class BasicConfigKey<java.util.Map<java.lang.String,V>>
public java.lang.Object applyValueToMap(java.lang.Object value, java.util.Map target)
StructuredConfigKey