public class Schedule extends Object implements Serializable
| Constructor and Description |
|---|
Schedule() |
| Modifier and Type | Method and Description |
|---|---|
Cron |
getCron()
Schedule cron definition
|
String |
getInterval()
Time interval (ISO 8601 format) describing when the workflow starting state is active
|
String |
getTimezone()
Timezone name used to evaluate the cron expression.
|
void |
setCron(Cron cron)
Schedule cron definition
|
void |
setInterval(String interval)
Time interval (ISO 8601 format) describing when the workflow starting state is active
|
void |
setTimezone(String timezone)
Timezone name used to evaluate the cron expression.
|
Schedule |
withCron(Cron cron) |
Schedule |
withInterval(String interval) |
Schedule |
withTimezone(String timezone) |
public String getInterval()
public void setInterval(String interval)
public Cron getCron()
public void setCron(Cron cron)
public String getTimezone()
public void setTimezone(String timezone)
Copyright © 2020–2023 CNCF. All rights reserved.