public class JobPreparationTask extends Object
Constructor and Description |
---|
JobPreparationTask() |
Modifier and Type | Method and Description |
---|---|
String |
commandLine()
Get the commandLine value.
|
TaskConstraints |
constraints()
Get the constraints value.
|
TaskContainerSettings |
containerSettings()
Get the containerSettings value.
|
List<EnvironmentSetting> |
environmentSettings()
Get the environmentSettings value.
|
String |
id()
Get the id value.
|
Boolean |
rerunOnNodeRebootAfterSuccess()
Get the rerunOnNodeRebootAfterSuccess value.
|
List<ResourceFile> |
resourceFiles()
Get the resourceFiles value.
|
UserIdentity |
userIdentity()
Get the userIdentity value.
|
Boolean |
waitForSuccess()
Get the waitForSuccess value.
|
JobPreparationTask |
withCommandLine(String commandLine)
Set the commandLine value.
|
JobPreparationTask |
withConstraints(TaskConstraints constraints)
Set the constraints value.
|
JobPreparationTask |
withContainerSettings(TaskContainerSettings containerSettings)
Set the containerSettings value.
|
JobPreparationTask |
withEnvironmentSettings(List<EnvironmentSetting> environmentSettings)
Set the environmentSettings value.
|
JobPreparationTask |
withId(String id)
Set the id value.
|
JobPreparationTask |
withRerunOnNodeRebootAfterSuccess(Boolean rerunOnNodeRebootAfterSuccess)
Set the rerunOnNodeRebootAfterSuccess value.
|
JobPreparationTask |
withResourceFiles(List<ResourceFile> resourceFiles)
Set the resourceFiles value.
|
JobPreparationTask |
withUserIdentity(UserIdentity userIdentity)
Set the userIdentity value.
|
JobPreparationTask |
withWaitForSuccess(Boolean waitForSuccess)
Set the waitForSuccess value.
|
public String id()
public JobPreparationTask withId(String id)
id
- the id value to setpublic String commandLine()
public JobPreparationTask withCommandLine(String commandLine)
commandLine
- the commandLine value to setpublic TaskContainerSettings containerSettings()
public JobPreparationTask withContainerSettings(TaskContainerSettings containerSettings)
containerSettings
- the containerSettings value to setpublic List<ResourceFile> resourceFiles()
public JobPreparationTask withResourceFiles(List<ResourceFile> resourceFiles)
resourceFiles
- the resourceFiles value to setpublic List<EnvironmentSetting> environmentSettings()
public JobPreparationTask withEnvironmentSettings(List<EnvironmentSetting> environmentSettings)
environmentSettings
- the environmentSettings value to setpublic TaskConstraints constraints()
public JobPreparationTask withConstraints(TaskConstraints constraints)
constraints
- the constraints value to setpublic Boolean waitForSuccess()
public JobPreparationTask withWaitForSuccess(Boolean waitForSuccess)
waitForSuccess
- the waitForSuccess value to setpublic UserIdentity userIdentity()
public JobPreparationTask withUserIdentity(UserIdentity userIdentity)
userIdentity
- the userIdentity value to setpublic Boolean rerunOnNodeRebootAfterSuccess()
public JobPreparationTask withRerunOnNodeRebootAfterSuccess(Boolean rerunOnNodeRebootAfterSuccess)
rerunOnNodeRebootAfterSuccess
- the rerunOnNodeRebootAfterSuccess value to setCopyright © 2019. All rights reserved.