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