public class JobSpecification extends Object
Constructor and Description |
---|
JobSpecification() |
Modifier and Type | Method and Description |
---|---|
List<EnvironmentSetting> |
commonEnvironmentSettings()
Get the commonEnvironmentSettings value.
|
JobConstraints |
constraints()
Get the constraints value.
|
String |
displayName()
Get the displayName value.
|
JobManagerTask |
jobManagerTask()
Get the jobManagerTask value.
|
JobPreparationTask |
jobPreparationTask()
Get the jobPreparationTask value.
|
JobReleaseTask |
jobReleaseTask()
Get the jobReleaseTask value.
|
List<MetadataItem> |
metadata()
Get the metadata value.
|
OnAllTasksComplete |
onAllTasksComplete()
Get the onAllTasksComplete value.
|
OnTaskFailure |
onTaskFailure()
Get the onTaskFailure value.
|
PoolInformation |
poolInfo()
Get the poolInfo value.
|
Integer |
priority()
Get the priority value.
|
Boolean |
usesTaskDependencies()
Get the usesTaskDependencies value.
|
JobSpecification |
withCommonEnvironmentSettings(List<EnvironmentSetting> commonEnvironmentSettings)
Set the commonEnvironmentSettings value.
|
JobSpecification |
withConstraints(JobConstraints constraints)
Set the constraints value.
|
JobSpecification |
withDisplayName(String displayName)
Set the displayName value.
|
JobSpecification |
withJobManagerTask(JobManagerTask jobManagerTask)
Set the jobManagerTask value.
|
JobSpecification |
withJobPreparationTask(JobPreparationTask jobPreparationTask)
Set the jobPreparationTask value.
|
JobSpecification |
withJobReleaseTask(JobReleaseTask jobReleaseTask)
Set the jobReleaseTask value.
|
JobSpecification |
withMetadata(List<MetadataItem> metadata)
Set the metadata value.
|
JobSpecification |
withOnAllTasksComplete(OnAllTasksComplete onAllTasksComplete)
Set the onAllTasksComplete value.
|
JobSpecification |
withOnTaskFailure(OnTaskFailure onTaskFailure)
Set the onTaskFailure value.
|
JobSpecification |
withPoolInfo(PoolInformation poolInfo)
Set the poolInfo value.
|
JobSpecification |
withPriority(Integer priority)
Set the priority value.
|
JobSpecification |
withUsesTaskDependencies(Boolean usesTaskDependencies)
Set the usesTaskDependencies value.
|
public Integer priority()
public JobSpecification withPriority(Integer priority)
priority
- the priority value to setpublic String displayName()
public JobSpecification withDisplayName(String displayName)
displayName
- the displayName value to setpublic Boolean usesTaskDependencies()
public JobSpecification withUsesTaskDependencies(Boolean usesTaskDependencies)
usesTaskDependencies
- the usesTaskDependencies value to setpublic OnAllTasksComplete onAllTasksComplete()
public JobSpecification withOnAllTasksComplete(OnAllTasksComplete onAllTasksComplete)
onAllTasksComplete
- the onAllTasksComplete value to setpublic OnTaskFailure onTaskFailure()
public JobSpecification withOnTaskFailure(OnTaskFailure onTaskFailure)
onTaskFailure
- the onTaskFailure value to setpublic JobConstraints constraints()
public JobSpecification withConstraints(JobConstraints constraints)
constraints
- the constraints value to setpublic JobManagerTask jobManagerTask()
public JobSpecification withJobManagerTask(JobManagerTask jobManagerTask)
jobManagerTask
- the jobManagerTask value to setpublic JobPreparationTask jobPreparationTask()
public JobSpecification withJobPreparationTask(JobPreparationTask jobPreparationTask)
jobPreparationTask
- the jobPreparationTask value to setpublic JobReleaseTask jobReleaseTask()
public JobSpecification withJobReleaseTask(JobReleaseTask jobReleaseTask)
jobReleaseTask
- the jobReleaseTask value to setpublic List<EnvironmentSetting> commonEnvironmentSettings()
public JobSpecification withCommonEnvironmentSettings(List<EnvironmentSetting> commonEnvironmentSettings)
commonEnvironmentSettings
- the commonEnvironmentSettings value to setpublic PoolInformation poolInfo()
public JobSpecification withPoolInfo(PoolInformation poolInfo)
poolInfo
- the poolInfo value to setpublic List<MetadataItem> metadata()
public JobSpecification withMetadata(List<MetadataItem> metadata)
metadata
- the metadata value to setCopyright © 2019. All rights reserved.