public class CloudJob extends Object
Constructor and Description |
---|
CloudJob() |
Modifier and Type | Method and Description |
---|---|
List<EnvironmentSetting> |
commonEnvironmentSettings()
Get the commonEnvironmentSettings value.
|
JobConstraints |
constraints()
Get the constraints value.
|
org.joda.time.DateTime |
creationTime()
Get the creationTime value.
|
String |
displayName()
Get the displayName value.
|
String |
eTag()
Get the eTag value.
|
JobExecutionInformation |
executionInfo()
Get the executionInfo value.
|
String |
id()
Get the id value.
|
JobManagerTask |
jobManagerTask()
Get the jobManagerTask value.
|
JobPreparationTask |
jobPreparationTask()
Get the jobPreparationTask value.
|
JobReleaseTask |
jobReleaseTask()
Get the jobReleaseTask value.
|
org.joda.time.DateTime |
lastModified()
Get the lastModified 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.
|
JobState |
previousState()
Get the previousState value.
|
org.joda.time.DateTime |
previousStateTransitionTime()
Get the previousStateTransitionTime value.
|
Integer |
priority()
Get the priority value.
|
JobState |
state()
Get the state value.
|
org.joda.time.DateTime |
stateTransitionTime()
Get the stateTransitionTime value.
|
JobStatistics |
stats()
Get the stats value.
|
String |
url()
Get the url value.
|
Boolean |
usesTaskDependencies()
Get the usesTaskDependencies value.
|
CloudJob |
withCommonEnvironmentSettings(List<EnvironmentSetting> commonEnvironmentSettings)
Set the commonEnvironmentSettings value.
|
CloudJob |
withConstraints(JobConstraints constraints)
Set the constraints value.
|
CloudJob |
withCreationTime(org.joda.time.DateTime creationTime)
Set the creationTime value.
|
CloudJob |
withDisplayName(String displayName)
Set the displayName value.
|
CloudJob |
withETag(String eTag)
Set the eTag value.
|
CloudJob |
withExecutionInfo(JobExecutionInformation executionInfo)
Set the executionInfo value.
|
CloudJob |
withId(String id)
Set the id value.
|
CloudJob |
withJobManagerTask(JobManagerTask jobManagerTask)
Set the jobManagerTask value.
|
CloudJob |
withJobPreparationTask(JobPreparationTask jobPreparationTask)
Set the jobPreparationTask value.
|
CloudJob |
withJobReleaseTask(JobReleaseTask jobReleaseTask)
Set the jobReleaseTask value.
|
CloudJob |
withLastModified(org.joda.time.DateTime lastModified)
Set the lastModified value.
|
CloudJob |
withMetadata(List<MetadataItem> metadata)
Set the metadata value.
|
CloudJob |
withOnAllTasksComplete(OnAllTasksComplete onAllTasksComplete)
Set the onAllTasksComplete value.
|
CloudJob |
withOnTaskFailure(OnTaskFailure onTaskFailure)
Set the onTaskFailure value.
|
CloudJob |
withPoolInfo(PoolInformation poolInfo)
Set the poolInfo value.
|
CloudJob |
withPreviousState(JobState previousState)
Set the previousState value.
|
CloudJob |
withPreviousStateTransitionTime(org.joda.time.DateTime previousStateTransitionTime)
Set the previousStateTransitionTime value.
|
CloudJob |
withPriority(Integer priority)
Set the priority value.
|
CloudJob |
withState(JobState state)
Set the state value.
|
CloudJob |
withStateTransitionTime(org.joda.time.DateTime stateTransitionTime)
Set the stateTransitionTime value.
|
CloudJob |
withStats(JobStatistics stats)
Set the stats value.
|
CloudJob |
withUrl(String url)
Set the url value.
|
CloudJob |
withUsesTaskDependencies(Boolean usesTaskDependencies)
Set the usesTaskDependencies value.
|
public String id()
public CloudJob withId(String id)
id
- the id value to setpublic String displayName()
public CloudJob withDisplayName(String displayName)
displayName
- the displayName value to setpublic Boolean usesTaskDependencies()
public CloudJob withUsesTaskDependencies(Boolean usesTaskDependencies)
usesTaskDependencies
- the usesTaskDependencies value to setpublic String url()
public CloudJob withUrl(String url)
url
- the url value to setpublic String eTag()
public CloudJob withETag(String eTag)
eTag
- the eTag value to setpublic org.joda.time.DateTime lastModified()
public CloudJob withLastModified(org.joda.time.DateTime lastModified)
lastModified
- the lastModified value to setpublic org.joda.time.DateTime creationTime()
public CloudJob withCreationTime(org.joda.time.DateTime creationTime)
creationTime
- the creationTime value to setpublic JobState state()
public CloudJob withState(JobState state)
state
- the state value to setpublic org.joda.time.DateTime stateTransitionTime()
public CloudJob withStateTransitionTime(org.joda.time.DateTime stateTransitionTime)
stateTransitionTime
- the stateTransitionTime value to setpublic JobState previousState()
public CloudJob withPreviousState(JobState previousState)
previousState
- the previousState value to setpublic org.joda.time.DateTime previousStateTransitionTime()
public CloudJob withPreviousStateTransitionTime(org.joda.time.DateTime previousStateTransitionTime)
previousStateTransitionTime
- the previousStateTransitionTime value to setpublic Integer priority()
public CloudJob withPriority(Integer priority)
priority
- the priority value to setpublic JobConstraints constraints()
public CloudJob withConstraints(JobConstraints constraints)
constraints
- the constraints value to setpublic JobManagerTask jobManagerTask()
public CloudJob withJobManagerTask(JobManagerTask jobManagerTask)
jobManagerTask
- the jobManagerTask value to setpublic JobPreparationTask jobPreparationTask()
public CloudJob withJobPreparationTask(JobPreparationTask jobPreparationTask)
jobPreparationTask
- the jobPreparationTask value to setpublic JobReleaseTask jobReleaseTask()
public CloudJob withJobReleaseTask(JobReleaseTask jobReleaseTask)
jobReleaseTask
- the jobReleaseTask value to setpublic List<EnvironmentSetting> commonEnvironmentSettings()
public CloudJob withCommonEnvironmentSettings(List<EnvironmentSetting> commonEnvironmentSettings)
commonEnvironmentSettings
- the commonEnvironmentSettings value to setpublic PoolInformation poolInfo()
public CloudJob withPoolInfo(PoolInformation poolInfo)
poolInfo
- the poolInfo value to setpublic OnAllTasksComplete onAllTasksComplete()
public CloudJob withOnAllTasksComplete(OnAllTasksComplete onAllTasksComplete)
onAllTasksComplete
- the onAllTasksComplete value to setpublic OnTaskFailure onTaskFailure()
public CloudJob withOnTaskFailure(OnTaskFailure onTaskFailure)
onTaskFailure
- the onTaskFailure value to setpublic List<MetadataItem> metadata()
public CloudJob withMetadata(List<MetadataItem> metadata)
metadata
- the metadata value to setpublic JobExecutionInformation executionInfo()
public CloudJob withExecutionInfo(JobExecutionInformation executionInfo)
executionInfo
- the executionInfo value to setpublic JobStatistics stats()
public CloudJob withStats(JobStatistics stats)
stats
- the stats value to setCopyright © 2019. All rights reserved.