Package org.openhab.core.automation.type
Class CompositeConditionType
java.lang.Object
org.openhab.core.automation.type.ModuleType
org.openhab.core.automation.type.ConditionType
org.openhab.core.automation.type.CompositeConditionType
- All Implemented Interfaces:
Identifiable<String>
This class is as
ConditionType which logically combines Condition modules. The composite condition
hides internal logic between participating conditions and it can be used as a regular Condition module.- Author:
- Yordan Mihaylov - Initial contribution, Ana Dimova - Initial contribution, Vasil Ilchev - Initial contribution
-
Field Summary
Fields inherited from class org.openhab.core.automation.type.ModuleType
configDescriptions -
Constructor Summary
ConstructorsConstructorDescriptionCompositeConditionType(@Nullable String uid, @Nullable List<ConfigDescriptionParameter> configDescriptions, @Nullable String label, @Nullable String description, @Nullable Set<String> tags, @Nullable Visibility visibility, @Nullable List<Input> inputs, @Nullable List<Condition> children) Creates an instance ofCompositeConditionTypewith ordered set ofConditions.CompositeConditionType(@Nullable String uid, @Nullable List<ConfigDescriptionParameter> configDescriptions, @Nullable List<Input> inputs, @Nullable List<Condition> children) Creates an instance ofCompositeConditionTypewith ordered set ofConditions. -
Method Summary
Methods inherited from class org.openhab.core.automation.type.ConditionType
getInputsMethods inherited from class org.openhab.core.automation.type.ModuleType
equals, getConfigurationDescriptions, getDescription, getLabel, getTags, getUID, getVisibility, hashCode
-
Constructor Details
-
CompositeConditionType
public CompositeConditionType(@Nullable String uid, @Nullable List<ConfigDescriptionParameter> configDescriptions, @Nullable List<Input> inputs, @Nullable List<Condition> children) Creates an instance ofCompositeConditionTypewith ordered set ofConditions. It initializes only base properties of theCompositeConditionType.- Parameters:
uid- is theConditionType's identifier, ornullif a random identifier should be generated.configDescriptions- is aListof configuration descriptions describing meta-data for the configuration of the futureConditioninstances.inputs- is aListwithInput's meta-information descriptions of the futureConditioninstances.children- is aListofConditions.
-
CompositeConditionType
public CompositeConditionType(@Nullable String uid, @Nullable List<ConfigDescriptionParameter> configDescriptions, @Nullable String label, @Nullable String description, @Nullable Set<String> tags, @Nullable Visibility visibility, @Nullable List<Input> inputs, @Nullable List<Condition> children) Creates an instance ofCompositeConditionTypewith ordered set ofConditions. It initializes all properties of theCompositeConditionType.- Parameters:
uid- is theConditionType's identifier, ornullif a random identifier should be generated.configDescriptions- is aListof configuration descriptions describing meta-data for the configuration of the futureConditioninstances.label- a short and accurate, human-readable label of theCompositeConditionType.description- a detailed, human-readable description of usage ofCompositeConditionTypeand its benefits.tags- defines categories that fit theCompositeConditionTypeand which can serve as criteria for searching or filtering it.visibility- determines whether theCompositeConditionTypecan be used by anyone if it isVisibility.VISIBLEor only by its creator if it isVisibility.HIDDEN. Ifnullis provided the default visibilityVisibility.VISIBLEwill be used.inputs- is aListwithInput's meta-information descriptions of the futureConditioninstances.children- is aListofConditions.
-
-
Method Details