@Stability(value=Stable) public static final class CronOptions.Builder extends Object
CronOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CronOptions |
build()
Builds the configured instance.
|
CronOptions.Builder |
day(String day)
Sets the value of Day
|
CronOptions.Builder |
hour(String hour)
Sets the value of Hour
|
CronOptions.Builder |
minute(String minute)
Sets the value of Minute
|
CronOptions.Builder |
month(String month)
Sets the value of Month
|
CronOptions.Builder |
weekDay(String weekDay)
Sets the value of WeekDay
|
CronOptions.Builder |
year(String year)
Sets the value of Year
|
@Stability(value=Stable) public CronOptions.Builder day(String day)
day - The day of the month to run this rule at.this@Stability(value=Stable) public CronOptions.Builder hour(String hour)
hour - The hour to run this rule at.this@Stability(value=Stable) public CronOptions.Builder minute(String minute)
minute - The minute to run this rule at.this@Stability(value=Stable) public CronOptions.Builder month(String month)
month - The month to run this rule at.this@Stability(value=Stable) public CronOptions.Builder weekDay(String weekDay)
weekDay - The day of the week to run this rule at.this@Stability(value=Stable) public CronOptions.Builder year(String year)
year - The year to run this rule at.this@Stability(value=Stable) public CronOptions build()
CronOptionsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.