@Stability(value=Experimental) 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 |
withDay(String value)
Sets the value of Day
|
CronOptions.Builder |
withHour(String value)
Sets the value of Hour
|
CronOptions.Builder |
withMinute(String value)
Sets the value of Minute
|
CronOptions.Builder |
withMonth(String value)
Sets the value of Month
|
CronOptions.Builder |
withWeekDay(String value)
Sets the value of WeekDay
|
CronOptions.Builder |
withYear(String value)
Sets the value of Year
|
@Stability(value=Experimental) public CronOptions.Builder withDay(@Nullable String value)
value - The day of the month to run this rule at.this@Stability(value=Experimental) public CronOptions.Builder withHour(@Nullable String value)
value - The hour to run this rule at.this@Stability(value=Experimental) public CronOptions.Builder withMinute(@Nullable String value)
value - The minute to run this rule at.this@Stability(value=Experimental) public CronOptions.Builder withMonth(@Nullable String value)
value - The month to run this rule at.this@Stability(value=Experimental) public CronOptions.Builder withWeekDay(@Nullable String value)
value - The day of the week to run this rule at.this@Stability(value=Experimental) public CronOptions.Builder withYear(@Nullable String value)
value - The year to run this rule at.this@Stability(value=Experimental) public CronOptions build()
CronOptionsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.