public interface MutableConfigurationPropertyModel extends ConfigurationPropertyModel
EMPTY_MODEL
Modifier and Type | Method and Description |
---|---|
void |
addClassifiedProperties(java.lang.String classification,
Property<?> keyProp,
java.util.Collection<Property<?>> properties)
Registers a set of properties that would be available for a given value of a certain classification.
|
<T> void |
addClassifiedValue(java.lang.String classification,
Property<T> keyProp,
T value)
Links a particular value to a given classification.
|
<T> void |
addDependantProperties(Property<T> prop,
java.util.Collection<T> values,
java.util.Collection<Property<?>> properties)
Same as single-value registerDependentProperties, but when multiple values are valid.
|
default <T> void |
addDependantProperties(Property<T> prop,
T value,
java.util.Collection<Property<?>> properties)
Registers properties that are only available if the specified property is equal to the given value.
|
default <T> void |
addDependantProperties(Property<T> prop,
T value,
Property<?>... properties)
Registers properties that are only available if the specified property is equal to the given value.
|
void |
addProperties(java.util.Collection<Property<?>> properties)
Registers properties that are always editable.
|
default void |
addProperties(Property<?>... properties) |
ConfigurationPropertyModel |
getModelSnapshot()
Returns a serializable, non-mutable version of the model appropriate for sending to the designer or remote
gateways.
|
void |
markImmutable(Property<?> property)
This effectively excludes a property from ever being "applicable".
|
<T> void |
registerAllowedValues(Property<T> property,
java.util.List<T> values)
Registers a set of allowed values for the given property.
|
void |
removeClassifiedProperties(java.lang.String classification,
Property<?> keyProp) |
<T> void |
removeClassifiedValue(java.lang.String classification,
Property<T> keyProp,
T value) |
<T> void |
removeDependantProperties(Property<T> prop,
T value)
Removes all dependant properties for the given value.
|
void |
removeProperties(java.util.Collection<Property<?>> properties)
Unregisters tag properties.
|
default void |
removeProperties(Property<?>... properties) |
<T> void |
setAllowedValues(Property<T> property,
java.util.List<T> values)
Registers a set of allowed values for the given property.
|
contains, getAffectedProperties, getAllowedValues, getApplicableProperties, getCurrentModelVersion, getModelProperties, isApplicable, isModelProperty, mergeTo
resolve
ConfigurationPropertyModel getModelSnapshot()
void addProperties(java.util.Collection<Property<?>> properties)
default void addProperties(Property<?>... properties)
void removeProperties(java.util.Collection<Property<?>> properties)
default void removeProperties(Property<?>... properties)
void addClassifiedProperties(java.lang.String classification, Property<?> keyProp, java.util.Collection<Property<?>> properties)
<T> void addClassifiedValue(java.lang.String classification, Property<T> keyProp, T value)
void removeClassifiedProperties(java.lang.String classification, Property<?> keyProp)
<T> void removeClassifiedValue(java.lang.String classification, Property<T> keyProp, T value)
default <T> void addDependantProperties(Property<T> prop, T value, Property<?>... properties)
default <T> void addDependantProperties(Property<T> prop, T value, java.util.Collection<Property<?>> properties)
<T> void addDependantProperties(Property<T> prop, java.util.Collection<T> values, java.util.Collection<Property<?>> properties)
<T> void removeDependantProperties(Property<T> prop, T value)
<T> void setAllowedValues(Property<T> property, java.util.List<T> values)
<T> void registerAllowedValues(Property<T> property, java.util.List<T> values)
void markImmutable(Property<?> property)