public class V2alpha1CronJobSpec extends Object
Constructor and Description |
---|
V2alpha1CronJobSpec() |
Modifier and Type | Method and Description |
---|---|
V2alpha1CronJobSpec |
concurrencyPolicy(String concurrencyPolicy) |
boolean |
equals(Object o) |
V2alpha1CronJobSpec |
failedJobsHistoryLimit(Integer failedJobsHistoryLimit) |
String |
getConcurrencyPolicy()
Specifies how to treat concurrent executions of a Job.
|
Integer |
getFailedJobsHistoryLimit()
The number of failed finished jobs to retain.
|
V2alpha1JobTemplateSpec |
getJobTemplate()
Specifies the job that will be created when executing a CronJob.
|
String |
getSchedule()
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
Long |
getStartingDeadlineSeconds()
Optional deadline in seconds for starting the job if it misses scheduled time for any reason.
|
Integer |
getSuccessfulJobsHistoryLimit()
The number of successful finished jobs to retain.
|
int |
hashCode() |
Boolean |
isSuspend()
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions.
|
V2alpha1CronJobSpec |
jobTemplate(V2alpha1JobTemplateSpec jobTemplate) |
V2alpha1CronJobSpec |
schedule(String schedule) |
void |
setConcurrencyPolicy(String concurrencyPolicy) |
void |
setFailedJobsHistoryLimit(Integer failedJobsHistoryLimit) |
void |
setJobTemplate(V2alpha1JobTemplateSpec jobTemplate) |
void |
setSchedule(String schedule) |
void |
setStartingDeadlineSeconds(Long startingDeadlineSeconds) |
void |
setSuccessfulJobsHistoryLimit(Integer successfulJobsHistoryLimit) |
void |
setSuspend(Boolean suspend) |
V2alpha1CronJobSpec |
startingDeadlineSeconds(Long startingDeadlineSeconds) |
V2alpha1CronJobSpec |
successfulJobsHistoryLimit(Integer successfulJobsHistoryLimit) |
V2alpha1CronJobSpec |
suspend(Boolean suspend) |
String |
toString() |
public V2alpha1CronJobSpec concurrencyPolicy(String concurrencyPolicy)
public String getConcurrencyPolicy()
public void setConcurrencyPolicy(String concurrencyPolicy)
public V2alpha1CronJobSpec failedJobsHistoryLimit(Integer failedJobsHistoryLimit)
public Integer getFailedJobsHistoryLimit()
public void setFailedJobsHistoryLimit(Integer failedJobsHistoryLimit)
public V2alpha1CronJobSpec jobTemplate(V2alpha1JobTemplateSpec jobTemplate)
public V2alpha1JobTemplateSpec getJobTemplate()
public void setJobTemplate(V2alpha1JobTemplateSpec jobTemplate)
public V2alpha1CronJobSpec schedule(String schedule)
public String getSchedule()
public void setSchedule(String schedule)
public V2alpha1CronJobSpec startingDeadlineSeconds(Long startingDeadlineSeconds)
public Long getStartingDeadlineSeconds()
public void setStartingDeadlineSeconds(Long startingDeadlineSeconds)
public V2alpha1CronJobSpec successfulJobsHistoryLimit(Integer successfulJobsHistoryLimit)
public Integer getSuccessfulJobsHistoryLimit()
public void setSuccessfulJobsHistoryLimit(Integer successfulJobsHistoryLimit)
public V2alpha1CronJobSpec suspend(Boolean suspend)
public Boolean isSuspend()
public void setSuspend(Boolean suspend)
Copyright © 2018. All rights reserved.