public static class CronSchedule.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CronSchedule |
build() |
CronSchedule.Builder |
copy(CronSchedule model) |
CronSchedule.Builder |
expression(String expression)
Value in cron format.
|
CronSchedule.Builder |
misfirePolicy(Schedule.MisfirePolicy misfirePolicy) |
CronSchedule.Builder |
timeOfFirstExecution(Date timeOfFirstExecution) |
CronSchedule.Builder |
timeZone(String timeZone)
Time zone, by default UTC.
|
public CronSchedule.Builder misfirePolicy(Schedule.MisfirePolicy misfirePolicy)
public CronSchedule.Builder timeOfFirstExecution(Date timeOfFirstExecution)
public CronSchedule.Builder expression(String expression)
Value in cron format.
expression
- the value to setpublic CronSchedule.Builder timeZone(String timeZone)
Time zone, by default UTC.
timeZone
- the value to setpublic CronSchedule build()
public CronSchedule.Builder copy(CronSchedule model)
Copyright © 2016–2024. All rights reserved.