Class Timer
java.lang.Object
org.openhab.core.model.script.actions.Timer
The 
Timer is a wrapper for the Timer
 interface. This is necessary because the implementation methods of an interface can't be called from
 the script engine if the implementation is not in a public package or internal to the model bundle- Author:
- Jan N. Klug - Initial contribution
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleancancel()@Nullable ZonedDateTimebooleanbooleanisActive()booleanbooleanbooleanreschedule(ZonedDateTime newTime) 
- 
Constructor Details- 
Timer
 
- 
- 
Method Details- 
cancelpublic boolean cancel()
- 
getExecutionTime
- 
isActivepublic boolean isActive()
- 
isCancelledpublic boolean isCancelled()
- 
isRunningpublic boolean isRunning()
- 
hasTerminatedpublic boolean hasTerminated()
- 
reschedule
 
-