Class 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 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)
      • 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)
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)