public class SetConfigKey<V> extends AbstractCollectionConfigKey<java.util.Set<V>,java.util.Set<java.lang.Object>,V>
To add all items in a collection, to add a collection as a single element,
to clear the list, or to set a collection (clearing first),
use the relevant SetConfigKey.SetModification
in SetConfigKey.SetModifications
.
Specific values can be added in a replaceable way by referring to a subkey.
Modifier and Type | Class and Description |
---|---|
static class |
SetConfigKey.Builder<V> |
static interface |
SetConfigKey.SetModification<T> |
static class |
SetConfigKey.SetModificationBase<T> |
static class |
SetConfigKey.SetModifications |
BasicConfigKey.BasicConfigKeyOverwriting<T>
StructuredConfigKey.StructuredModification<T extends StructuredConfigKey>, StructuredConfigKey.StructuredModifications
ConfigKey.HasConfigKey<T>
Constructor and Description |
---|
SetConfigKey(<any> subType,
java.lang.String name) |
SetConfigKey(<any> subType,
java.lang.String name,
java.lang.String description) |
SetConfigKey(<any> subType,
java.lang.String name,
java.lang.String description,
java.util.Set<? extends V> defaultValue) |
SetConfigKey(SetConfigKey.Builder<V> builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
applyValueToMap, subKey
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 SetConfigKey(SetConfigKey.Builder<V> builder)
public SetConfigKey(<any> subType, java.lang.String name)
public SetConfigKey(<any> subType, java.lang.String name, java.lang.String description)
public SetConfigKey(<any> subType, java.lang.String name, java.lang.String description, java.util.Set<? extends V> defaultValue)
public java.lang.String toString()
toString
in class BasicConfigKey<java.util.Set<V>>