Interface FixedExecutionSchedule

All Superinterfaces:
ExecutionSchedule

public interface FixedExecutionSchedule extends ExecutionSchedule
A schedule which is executed once at a specified time or only manually (if set to manual).
Since:
4.0
  • Method Details

    • isManual

      boolean isManual()
      true if dependent ScheduleEntry is executed manually, false otherwise.
      Since:
      4.0
      See Also:
    • setManual

      void setManual(boolean value)
      Provide true if dependent ScheduleEntry should be executed manually, false otherwise.
      Parameters:
      value - true if dependent ScheduleEntry should be executed manually, false otherwise.
      Since:
      4.0
      See Also:
    • getNextExecutionTime

      @Nullable @Nullable Date getNextExecutionTime()
      Returns the next execution time or null for expired tasks.

      Please notice that the real execution time may differ from this value e.g. beacause the runtime of the tasks and the setting of the parallel execution mode conflicts with the returned time.

      If isManual() is set this method always returns null.

      Specified by:
      getNextExecutionTime in interface ExecutionSchedule
      Returns:
      The next execution time or null if the schedule is expired or the schedule is flagged as manually.
      Since:
      4.0
      See Also: