All Known Implementing Classes:
CronSchedule, Daily, DisabledSchedule, FixedDelay

public interface Schedule
  • Method Details

    • getNextExecutionTime

      Instant getNextExecutionTime(ExecutionComplete executionComplete)
    • getInitialExecutionTime

      default Instant getInitialExecutionTime(Instant now)
      Used to get the first execution-time for a schedule. Simulates an ExecutionComplete event.
    • isDeterministic

      boolean isDeterministic()
    • isDisabled

      default boolean isDisabled()