Package io.iworkflow.core.command
Class TimerCommand
- java.lang.Object
-
- io.iworkflow.core.command.TimerCommand
-
- All Implemented Interfaces:
BaseCommand
@Immutable public abstract class TimerCommand extends java.lang.Object implements BaseCommand
-
-
Constructor Summary
Constructors Constructor Description TimerCommand()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static TimerCommand
createByDuration(java.lang.String commandId, java.time.Duration duration)
static TimerCommand
createByDuration(java.time.Duration duration)
abstract long
getDurationSeconds()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.iworkflow.core.command.BaseCommand
getCommandId
-
-
-
-
Method Detail
-
getDurationSeconds
public abstract long getDurationSeconds()
-
createByDuration
public static TimerCommand createByDuration(java.lang.String commandId, java.time.Duration duration)
-
createByDuration
public static TimerCommand createByDuration(java.time.Duration duration)
-
-