Class ScheduleBackfill

java.lang.Object
io.temporal.client.schedules.ScheduleBackfill

public final class ScheduleBackfill extends Object
Time period and policy for actions taken as if their scheduled time has already passed.
  • Constructor Details

    • ScheduleBackfill

      public ScheduleBackfill(Instant startAt, Instant endAt)
      Create a backfill request.
      Parameters:
      startAt - Start of the range to evaluate the schedule in. This is exclusive.
      endAt - End of the range to evaluate the schedule in. This is inclusive.
    • ScheduleBackfill

      public ScheduleBackfill(Instant startAt, Instant endAt, io.temporal.api.enums.v1.ScheduleOverlapPolicy overlapPolicy)
      Create a backfill request.
      Parameters:
      startAt - Start of the range to evaluate the schedule in. This is exclusive.
      endAt - End of the range to evaluate the schedule in. This is inclusive.
      overlapPolicy - Overlap policy to use for this backfill request.
  • Method Details

    • getStartAt

      public Instant getStartAt()
      Get the start of the range in this request. This is exclusive.
      Returns:
      start of range
    • getEndAt

      public Instant getEndAt()
      End of the range to evaluate the schedule in this request. This is inclusive.
      Returns:
      end of range
    • getOverlapPolicy

      public io.temporal.api.enums.v1.ScheduleOverlapPolicy getOverlapPolicy()
      Get the overlap policy for this request
      Returns:
      overlap policy
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object