Interface TimeBasedConditionHandler
- All Superinterfaces:
ConditionHandler
,ModuleHandler
ConditionHandler
that evaluates, if the current time satisfies a specified condition.- Author:
- Sönke Küper - Initial contribution
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isSatisfiedAt
(ZonedDateTime time) Checks if this condition is satisfied for the given time.Methods inherited from interface org.openhab.core.automation.handler.ConditionHandler
compile, isSatisfied
Methods inherited from interface org.openhab.core.automation.handler.ModuleHandler
dispose, setCallback
-
Method Details
-
isSatisfiedAt
Checks if this condition is satisfied for the given time.- Parameters:
time
- The time to check.- Returns:
true
if and only if the given time satisfies this condition.
-