Class SchedulePolicy.Builder

java.lang.Object
io.temporal.client.schedules.SchedulePolicy.Builder
Enclosing class:
SchedulePolicy

public static final class SchedulePolicy.Builder extends Object
  • Method Details

    • setOverlap

      public SchedulePolicy.Builder setOverlap(io.temporal.api.enums.v1.ScheduleOverlapPolicy overlap)
      Set the policy for what happens when an action is started while another is still running.
    • setCatchupWindow

      public SchedulePolicy.Builder setCatchupWindow(Duration catchupWindow)
      Set the amount of time in the past to execute missed actions after a Temporal server is unavailable.
    • setPauseOnFailure

      public SchedulePolicy.Builder setPauseOnFailure(boolean pauseOnFailure)
      Set whether to pause the schedule if an action fails or times out.
    • build

      public SchedulePolicy build()