Class JobSpec
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.batch.JobSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
public class JobSpec extends Object implements io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JobSpec()No args constructor for use in serializationJobSpec(Long activeDeadlineSeconds, Integer backoffLimit, Integer completions, Boolean manualSelector, Integer parallelism, io.fabric8.kubernetes.api.model.LabelSelector selector, io.fabric8.kubernetes.api.model.PodTemplateSpec template, Integer ttlSecondsAfterFinished)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetActiveDeadlineSeconds()Map<String,Object>getAdditionalProperties()IntegergetBackoffLimit()IntegergetCompletions()BooleangetManualSelector()IntegergetParallelism()io.fabric8.kubernetes.api.model.LabelSelectorgetSelector()io.fabric8.kubernetes.api.model.PodTemplateSpecgetTemplate()IntegergetTtlSecondsAfterFinished()voidsetActiveDeadlineSeconds(Long activeDeadlineSeconds)voidsetAdditionalProperty(String name, Object value)voidsetBackoffLimit(Integer backoffLimit)voidsetCompletions(Integer completions)voidsetManualSelector(Boolean manualSelector)voidsetParallelism(Integer parallelism)voidsetSelector(io.fabric8.kubernetes.api.model.LabelSelector selector)voidsetTemplate(io.fabric8.kubernetes.api.model.PodTemplateSpec template)voidsetTtlSecondsAfterFinished(Integer ttlSecondsAfterFinished)
-
-
-
Constructor Detail
-
JobSpec
public JobSpec()
No args constructor for use in serialization
-
JobSpec
public JobSpec(Long activeDeadlineSeconds, Integer backoffLimit, Integer completions, Boolean manualSelector, Integer parallelism, io.fabric8.kubernetes.api.model.LabelSelector selector, io.fabric8.kubernetes.api.model.PodTemplateSpec template, Integer ttlSecondsAfterFinished)
- Parameters:
template-backoffLimit-manualSelector-parallelism-completions-selector-activeDeadlineSeconds-ttlSecondsAfterFinished-
-
-
Method Detail
-
getActiveDeadlineSeconds
public Long getActiveDeadlineSeconds()
-
setActiveDeadlineSeconds
public void setActiveDeadlineSeconds(Long activeDeadlineSeconds)
-
getBackoffLimit
public Integer getBackoffLimit()
-
setBackoffLimit
public void setBackoffLimit(Integer backoffLimit)
-
getCompletions
public Integer getCompletions()
-
setCompletions
public void setCompletions(Integer completions)
-
getManualSelector
public Boolean getManualSelector()
-
setManualSelector
public void setManualSelector(Boolean manualSelector)
-
getParallelism
public Integer getParallelism()
-
setParallelism
public void setParallelism(Integer parallelism)
-
getSelector
public io.fabric8.kubernetes.api.model.LabelSelector getSelector()
-
setSelector
public void setSelector(io.fabric8.kubernetes.api.model.LabelSelector selector)
-
getTemplate
public io.fabric8.kubernetes.api.model.PodTemplateSpec getTemplate()
-
setTemplate
public void setTemplate(io.fabric8.kubernetes.api.model.PodTemplateSpec template)
-
getTtlSecondsAfterFinished
public Integer getTtlSecondsAfterFinished()
-
setTtlSecondsAfterFinished
public void setTtlSecondsAfterFinished(Integer ttlSecondsAfterFinished)
-
-