Class ScheduleRange
java.lang.Object
io.temporal.client.schedules.ScheduleRange
-
Constructor Summary
ConstructorsConstructorDescriptionScheduleRange(int start) Create a inclusive range for a schedule match value.ScheduleRange(int start, int end) Create a inclusive range for a schedule match value.ScheduleRange(int start, int end, int step) Create a inclusive range for a schedule match value. -
Method Summary
-
Constructor Details
-
ScheduleRange
public ScheduleRange(int start) Create a inclusive range for a schedule match value.- Parameters:
start- The inclusive start of the range
-
ScheduleRange
public ScheduleRange(int start, int end) Create a inclusive range for a schedule match value.- Parameters:
start- The inclusive start of the rangeend- The inclusive end of the range. Default if unset or less than start is start.
-
ScheduleRange
public ScheduleRange(int start, int end, int step) Create a inclusive range for a schedule match value.- Parameters:
start- The inclusive start of the rangeend- The inclusive end of the range. Default if unset or less than start is start.step- The step to take between each value. Default if unset or 0, is 1.
-
-
Method Details
-
getStart
public int getStart()Gets the inclusive start of the range.- Returns:
- start of range
-
getEnd
public int getEnd()Gets the inclusive end of the range.- Returns:
- end of range
-
getStep
public int getStep()Gets the step taken between each value.- Returns:
- steps taken between values.
-
equals
-
hashCode
-
toString
-