Class CronJobSpec
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.batch.CronJobSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.model.KubernetesResource
,Serializable
public class CronJobSpec extends Object implements io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CronJobSpec()
No args constructor for use in serializationCronJobSpec(String concurrencyPolicy, Integer failedJobsHistoryLimit, JobTemplateSpec jobTemplate, String schedule, Long startingDeadlineSeconds, Integer successfulJobsHistoryLimit, Boolean suspend)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Constructor Detail
-
CronJobSpec
public CronJobSpec()
No args constructor for use in serialization
-
CronJobSpec
public CronJobSpec(String concurrencyPolicy, Integer failedJobsHistoryLimit, JobTemplateSpec jobTemplate, String schedule, Long startingDeadlineSeconds, Integer successfulJobsHistoryLimit, Boolean suspend)
- Parameters:
suspend
-schedule
-jobTemplate
-startingDeadlineSeconds
-concurrencyPolicy
-failedJobsHistoryLimit
-successfulJobsHistoryLimit
-
-
-
Method Detail
-
getConcurrencyPolicy
public String getConcurrencyPolicy()
-
setConcurrencyPolicy
public void setConcurrencyPolicy(String concurrencyPolicy)
-
getFailedJobsHistoryLimit
public Integer getFailedJobsHistoryLimit()
-
setFailedJobsHistoryLimit
public void setFailedJobsHistoryLimit(Integer failedJobsHistoryLimit)
-
getJobTemplate
public JobTemplateSpec getJobTemplate()
-
setJobTemplate
public void setJobTemplate(JobTemplateSpec jobTemplate)
-
getSchedule
public String getSchedule()
-
setSchedule
public void setSchedule(String schedule)
-
getStartingDeadlineSeconds
public Long getStartingDeadlineSeconds()
-
setStartingDeadlineSeconds
public void setStartingDeadlineSeconds(Long startingDeadlineSeconds)
-
getSuccessfulJobsHistoryLimit
public Integer getSuccessfulJobsHistoryLimit()
-
setSuccessfulJobsHistoryLimit
public void setSuccessfulJobsHistoryLimit(Integer successfulJobsHistoryLimit)
-
getSuspend
public Boolean getSuspend()
-
setSuspend
public void setSuspend(Boolean suspend)
-
-