public static class MonthlyFrequencyDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MonthlyFrequencyDetails |
build() |
MonthlyFrequencyDetails.Builder |
copy(MonthlyFrequencyDetails model) |
MonthlyFrequencyDetails.Builder |
days(List<Integer> days)
A list of days of the month to be scheduled.
|
MonthlyFrequencyDetails.Builder |
frequency(AbstractFrequencyDetails.Frequency frequency) |
MonthlyFrequencyDetails.Builder |
interval(Integer interval)
This hold the repeatability aspect of a schedule.
|
MonthlyFrequencyDetails.Builder |
time(Time time) |
public MonthlyFrequencyDetails.Builder frequency(AbstractFrequencyDetails.Frequency frequency)
public MonthlyFrequencyDetails.Builder interval(Integer interval)
This hold the repeatability aspect of a schedule. i.e. in a monhtly frequency, a task can be scheduled for every month, once in two months, once in tree months etc.
interval
- the value to setpublic MonthlyFrequencyDetails.Builder time(Time time)
public MonthlyFrequencyDetails.Builder days(List<Integer> days)
A list of days of the month to be scheduled. i.e. excute every 2nd,3rd, 10th of the month.
days
- the value to setpublic MonthlyFrequencyDetails build()
public MonthlyFrequencyDetails.Builder copy(MonthlyFrequencyDetails model)
Copyright © 2016–2024. All rights reserved.