public static class FixedFrequencySchedule.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
FixedFrequencySchedule |
build() |
FixedFrequencySchedule.Builder |
copy(FixedFrequencySchedule model) |
FixedFrequencySchedule.Builder |
misfirePolicy(Schedule.MisfirePolicy misfirePolicy) |
FixedFrequencySchedule.Builder |
recurringInterval(String recurringInterval)
Recurring interval in ISO 8601 extended format as described in
https://en.wikipedia.org/wiki/ISO_8601#Durations.
|
FixedFrequencySchedule.Builder |
repeatCount(Integer repeatCount)
Number of times (0-based) to execute until auto-stop.
|
FixedFrequencySchedule.Builder |
timeOfFirstExecution(Date timeOfFirstExecution) |
public FixedFrequencySchedule.Builder misfirePolicy(Schedule.MisfirePolicy misfirePolicy)
public FixedFrequencySchedule.Builder timeOfFirstExecution(Date timeOfFirstExecution)
public FixedFrequencySchedule.Builder recurringInterval(String recurringInterval)
Recurring interval in ISO 8601 extended format as described in https://en.wikipedia.org/wiki/ISO_8601#Durations. The largest supported unit is D, e.g. P14D (not P2W). The value must be at least 5 minutes (PT5M) and at most 3 weeks (P21D or PT30240M).
recurringInterval
- the value to setpublic FixedFrequencySchedule.Builder repeatCount(Integer repeatCount)
Number of times (0-based) to execute until auto-stop. Default value -1 will execute indefinitely. Value 0 will execute once.
repeatCount
- the value to setpublic FixedFrequencySchedule build()
public FixedFrequencySchedule.Builder copy(FixedFrequencySchedule model)
Copyright © 2016–2024. All rights reserved.