Package io.temporal.client.schedules
Class ScheduleBackfill
- java.lang.Object
-
- io.temporal.client.schedules.ScheduleBackfill
-
public final class ScheduleBackfill extends java.lang.Object
Time period and policy for actions taken as if their scheduled time has already passed.
-
-
Constructor Summary
Constructors Constructor Description ScheduleBackfill(java.time.Instant startAt, java.time.Instant endAt)
Create a backfill request.ScheduleBackfill(java.time.Instant startAt, java.time.Instant endAt, io.temporal.api.enums.v1.ScheduleOverlapPolicy overlapPolicy)
Create a backfill request.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.time.Instant
getEndAt()
End of the range to evaluate the schedule in this request.io.temporal.api.enums.v1.ScheduleOverlapPolicy
getOverlapPolicy()
Get the overlap policy for this requestjava.time.Instant
getStartAt()
Get the start of the range in this request.int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
ScheduleBackfill
public ScheduleBackfill(java.time.Instant startAt, java.time.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(java.time.Instant startAt, java.time.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 Detail
-
getStartAt
public java.time.Instant getStartAt()
Get the start of the range in this request. This is exclusive.- Returns:
- start of range
-
getEndAt
public java.time.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(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-