Package org.openhab.core.automation.type
Class CompositeTriggerType
java.lang.Object
org.openhab.core.automation.type.ModuleType
org.openhab.core.automation.type.TriggerType
org.openhab.core.automation.type.CompositeTriggerType
- All Implemented Interfaces:
Identifiable<String>
This class is as
TriggerType
which logically combines Trigger
modules. The composite trigger hides
internal logic between participating Trigger
s and it can be used as a regular Trigger
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
ConstructorDescriptionCompositeTriggerType
(@Nullable String uid, @Nullable List<ConfigDescriptionParameter> configDescriptions, @Nullable String label, @Nullable String description, @Nullable Set<String> tags, @Nullable Visibility visibility, @Nullable List<Output> outputs, @Nullable List<Trigger> children) Creates an instance ofCompositeTriggerType
with ordered set ofTrigger
modules.CompositeTriggerType
(@Nullable String uid, @Nullable List<ConfigDescriptionParameter> configDescriptions, @Nullable List<Output> outputs, @Nullable List<Trigger> children) Creates an instance ofCompositeTriggerType
with ordered set ofTrigger
modules. -
Method Summary
Methods inherited from class org.openhab.core.automation.type.TriggerType
getOutputs
Methods inherited from class org.openhab.core.automation.type.ModuleType
equals, getConfigurationDescriptions, getDescription, getLabel, getTags, getUID, getVisibility, hashCode
-
Constructor Details
-
CompositeTriggerType
public CompositeTriggerType(@Nullable String uid, @Nullable List<ConfigDescriptionParameter> configDescriptions, @Nullable List<Output> outputs, @Nullable List<Trigger> children) Creates an instance ofCompositeTriggerType
with ordered set ofTrigger
modules. It initializes only base properties of theCompositeTriggerType
.- Parameters:
uid
- theTriggerType
's identifier, ornull
if a random identifier should be generated.configDescriptions
- describing meta-data for the configuration of the futureTrigger
instances.outputs
- aList
withOutput
meta-information descriptions of the futureTrigger
instances.children
- is aList
ofTrigger
modules.
-
CompositeTriggerType
public CompositeTriggerType(@Nullable String uid, @Nullable List<ConfigDescriptionParameter> configDescriptions, @Nullable String label, @Nullable String description, @Nullable Set<String> tags, @Nullable Visibility visibility, @Nullable List<Output> outputs, @Nullable List<Trigger> children) Creates an instance ofCompositeTriggerType
with ordered set ofTrigger
modules. It initializes all properties of theCompositeTriggerType
.- Parameters:
uid
- theTriggerType
's identifier, ornull
if a random identifier should be generated.configDescriptions
- describing meta-data for the configuration of the futureTrigger
instances.label
- a short and accurate, human-readable label of theTriggerType
.description
- a detailed, human-readable description of usage ofTriggerType
and its benefits.tags
- defines categories that fit theTriggerType
and which can serve as criteria for searching or filtering it.visibility
- determines whether theTriggerType
can be used by anyone if it isVisibility.VISIBLE
or only by its creator if it isVisibility.HIDDEN
.outputs
- aList
withOutput
meta-information descriptions of the futureTrigger
instances.children
- is aList
ofTrigger
modules.
-
-
Method Details