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 Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleancancel()@Nullable ZonedDateTimebooleanbooleanisActive()booleanbooleanbooleanreschedule(ZonedDateTime newTime)  
- 
Constructor Details
- 
Timer
 
 - 
 - 
Method Details
- 
cancel
public boolean cancel() - 
getExecutionTime
 - 
isActive
public boolean isActive() - 
isCancelled
public boolean isCancelled() - 
isRunning
public boolean isRunning() - 
hasTerminated
public boolean hasTerminated() - 
reschedule
 
 -