Class TimerCommand

  • All Implemented Interfaces:
    BaseCommand

    @Immutable
    public abstract class TimerCommand
    extends java.lang.Object
    implements BaseCommand
    • Constructor Detail

      • TimerCommand

        public TimerCommand()
    • 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)