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 Actions 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
ConstructorsConstructorDescriptionCompositeActionType(@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 ofCompositeActionTypewith list ofActions.CompositeActionType(@Nullable String uid, @Nullable List<ConfigDescriptionParameter> configDescriptions, @Nullable List<Input> inputs, @Nullable List<Output> outputs, @Nullable List<Action> children) Creates an instance ofCompositeActionTypewith list ofActions. -
Method Summary
Methods inherited from class org.openhab.core.automation.type.ActionType
getInputs, getOutputsMethods 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 ofCompositeActionTypewith list ofActions. It initializes only base properties of theCompositeActionType.- Parameters:
uid- theActionType's identifier, ornullif a random identifier should be generated.configDescriptions- describing meta-data for the configuration of the futureActioninstances.inputs- aListwithInputmeta-information descriptions of the futureActioninstances.outputs- aListwithOutputmeta-information descriptions of the futureActioninstances.children- is aListofActions.
-
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 ofCompositeActionTypewith list ofActions. It initializes all properties of theCompositeActionType.- Parameters:
uid- theActionType's identifier, ornullif a random identifier should be generated.configDescriptions- describing meta-data for the configuration of the futureActioninstances.label- a short and accurate, human-readable label of theActionType.description- a detailed, human-readable description of usage ofActionTypeand its benefits.tags- defines categories that fit theActionTypeand which can serve as criteria for searching or filtering it.visibility- determines whether theActionTypecan be used by anyone if it isVisibility.VISIBLEor only by its creator if it isVisibility.HIDDEN.inputs- aListwithInputmeta-information descriptions of the futureActioninstances.outputs- aListwithOutputmeta-information descriptions of the futureActioninstances.children- is aListofActions.
-
-
Method Details