Package org.openhab.core.automation.util
Class ConditionBuilder
java.lang.Object
org.openhab.core.automation.util.ModuleBuilder<ConditionBuilder,Condition>
org.openhab.core.automation.util.ConditionBuilder
This class allows the easy construction of a
Condition
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
Modifier and TypeMethodDescriptionbuild()
static ConditionBuilder
create()
static ConditionBuilder
withInputs
(@Nullable Map<String, String> inputs) 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
-
ConditionBuilder
protected ConditionBuilder() -
ConditionBuilder
-
-
Method Details
-
create
-
create
-
withInputs
-
build
- Specified by:
build
in classModuleBuilder<ConditionBuilder,
Condition>
-