public class CronJobSpec extends Object implements io.fabric8.kubernetes.api.model.KubernetesResource
| Constructor and Description |
|---|
CronJobSpec()
No args constructor for use in serialization
|
CronJobSpec(String concurrencyPolicy,
Integer failedJobsHistoryLimit,
JobTemplateSpec jobTemplate,
String schedule,
Long startingDeadlineSeconds,
Integer successfulJobsHistoryLimit,
Boolean suspend) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAdditionalProperties() |
String |
getConcurrencyPolicy() |
Integer |
getFailedJobsHistoryLimit() |
JobTemplateSpec |
getJobTemplate() |
String |
getSchedule() |
Long |
getStartingDeadlineSeconds() |
Integer |
getSuccessfulJobsHistoryLimit() |
Boolean |
getSuspend() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setConcurrencyPolicy(String concurrencyPolicy) |
void |
setFailedJobsHistoryLimit(Integer failedJobsHistoryLimit) |
void |
setJobTemplate(JobTemplateSpec jobTemplate) |
void |
setSchedule(String schedule) |
void |
setStartingDeadlineSeconds(Long startingDeadlineSeconds) |
void |
setSuccessfulJobsHistoryLimit(Integer successfulJobsHistoryLimit) |
void |
setSuspend(Boolean suspend) |
public CronJobSpec()
public CronJobSpec(String concurrencyPolicy, Integer failedJobsHistoryLimit, JobTemplateSpec jobTemplate, String schedule, Long startingDeadlineSeconds, Integer successfulJobsHistoryLimit, Boolean suspend)
suspend - schedule - jobTemplate - startingDeadlineSeconds - concurrencyPolicy - failedJobsHistoryLimit - successfulJobsHistoryLimit - public String getConcurrencyPolicy()
public void setConcurrencyPolicy(String concurrencyPolicy)
public Integer getFailedJobsHistoryLimit()
public void setFailedJobsHistoryLimit(Integer failedJobsHistoryLimit)
public JobTemplateSpec getJobTemplate()
public void setJobTemplate(JobTemplateSpec jobTemplate)
public String getSchedule()
public void setSchedule(String schedule)
public Long getStartingDeadlineSeconds()
public void setStartingDeadlineSeconds(Long startingDeadlineSeconds)
public Integer getSuccessfulJobsHistoryLimit()
public void setSuccessfulJobsHistoryLimit(Integer successfulJobsHistoryLimit)
public Boolean getSuspend()
public void setSuspend(Boolean suspend)
Copyright © 2015–2022 Red Hat. All rights reserved.