Package io.temporal.client.schedules
Class ScheduleBackfill
- java.lang.Object
-
- io.temporal.client.schedules.ScheduleBackfill
-
public final class ScheduleBackfill extends java.lang.ObjectTime 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 booleanequals(java.lang.Object o)java.time.InstantgetEndAt()End of the range to evaluate the schedule in this request.io.temporal.api.enums.v1.ScheduleOverlapPolicygetOverlapPolicy()Get the overlap policy for this requestjava.time.InstantgetStartAt()Get the start of the range in this request.inthashCode()java.lang.StringtoString()
-
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-