Class BasicConfigurationPropertyModel.InternalProperty<T>
java.lang.Object
com.inductiveautomation.ignition.common.config.BasicConfigurationPropertyModel.InternalProperty<T>
- All Implemented Interfaces:
BasicConfigurationPropertyModel.RankedProperty
,Serializable
- Enclosing class:
- BasicConfigurationPropertyModel
protected class BasicConfigurationPropertyModel.InternalProperty<T>
extends Object
implements Serializable, BasicConfigurationPropertyModel.RankedProperty
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected class
protected class
protected class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDependantProperty
(T value, BasicConfigurationPropertyModel.InternalProperty<?> property) void
Returns the specified allowed values first, then the implicit values if keyed models are registered, otherwise empty optional.void
void
getEditableProperties
(PropertySet config, Set<BasicConfigurationPropertyModel.RankedProperty> retValues, Set<BasicConfigurationPropertyModel.InternalProperty<?>> visited) int
getRank()
boolean
isApplicable
(PropertySet config) Return true if this property is applicable for the config.protected boolean
isChildApplicable
(PropertySet config, BasicConfigurationPropertyModel.InternalProperty<?> prop) This is for checking dependencies from the bottom up.boolean
boolean
boolean
void
protected void
void
registerAllowedValues
(List<T> values) void
removeDependantProperties
(T value) void
setAllowedValues
(List<T> values) void
setCustomizable
(boolean customizable) void
toString()
-
Constructor Details
-
InternalProperty
-
-
Method Details
-
getProperty
- Specified by:
getProperty
in interfaceBasicConfigurationPropertyModel.RankedProperty
-
getRank
public int getRank()- Specified by:
getRank
in interfaceBasicConfigurationPropertyModel.RankedProperty
-
isImmutable
public boolean isImmutable() -
markImmutable
public void markImmutable() -
setCustomizable
public void setCustomizable(boolean customizable) -
isCustomizable
public boolean isCustomizable() -
dependentOn
-
isDependant
public boolean isDependant() -
mergeTo
-
getAllowedValues
Returns the specified allowed values first, then the implicit values if keyed models are registered, otherwise empty optional. -
setAllowedValues
-
registerAllowedValues
-
setResourceValueSource
-
getEditableProperties
public void getEditableProperties(PropertySet config, Set<BasicConfigurationPropertyModel.RankedProperty> retValues, Set<BasicConfigurationPropertyModel.InternalProperty<?>> visited) -
getDependantProperties
-
addDependantProperty
public void addDependantProperty(T value, BasicConfigurationPropertyModel.InternalProperty<?> property) -
removeDependantProperties
-
isApplicable
Return true if this property is applicable for the config. -
isChildApplicable
protected boolean isChildApplicable(PropertySet config, BasicConfigurationPropertyModel.InternalProperty<?> prop) This is for checking dependencies from the bottom up. In order for a prop to be valid, its parent must have it as a valid dependency. For that to be true, it must be in the set of props for the current value of the parent prop. -
toString
-