Package org.openhab.core.automation.util
Class TriggerBuilder
java.lang.Object
org.openhab.core.automation.util.ModuleBuilder<TriggerBuilder,Trigger>
org.openhab.core.automation.util.TriggerBuilder
This class allows the easy construction of a
Trigger
instance using the builder pattern.- Author:
- Markus Rathgeb - Initial contribution
-
Field Summary
Fields inherited from class org.openhab.core.automation.util.ModuleBuilder
configuration, description, label
-
Constructor Summary
-
Method Summary
Methods inherited from class org.openhab.core.automation.util.ModuleBuilder
create, createAction, createAction, createCondition, createCondition, createTrigger, createTrigger, getId, getTypeUID, withConfiguration, withDescription, withId, withLabel, withTypeUID
-
Constructor Details
-
TriggerBuilder
protected TriggerBuilder() -
TriggerBuilder
-
-
Method Details
-
create
-
create
-
build
- Specified by:
build
in classModuleBuilder<TriggerBuilder,
Trigger>
-