JobReleaseTaskExecutionInformation 类

定义

Contains information about the execution of a Job Release task on a compute node.

public class JobReleaseTaskExecutionInformation
继承
java.lang.Object
JobReleaseTaskExecutionInformation

方法

containerInfo()

Get this property is set only if the task runs in a container context.

endTime()

Get this property is set only if the task is in the Completed state.

exitCode()

Get this parameter is returned only if the task is in the completed state. The exit code for a process reflects the specific convention implemented by the application developer for that process. If you use the exit code value to make decisions in your code, be sure that you know the exit code convention used by the application process. Note that the exit code may also be generated by the compute node operating system, such as when a process is forcibly terminated.

failureInfo()

Get this property is set only if the task is in the completed state and encountered a failure.

result()

Get if the value is 'failed', then the details of the failure can be found in the failureInfo property. Possible values include: 'success', 'failure'.

startTime()

Get if the task has been restarted or retried, this is the most recent time at which the task started running.

state()

Get possible values include: 'running', 'completed'.

taskRootDirectory()

Get the taskRootDirectory value.

taskRootDirectoryUrl()

Get the taskRootDirectoryUrl value.

withContainerInfo(TaskContainerExecutionInformation containerInfo)

Set this property is set only if the task runs in a container context.

withEndTime(DateTime endTime)

Set this property is set only if the task is in the Completed state.

withExitCode(Integer exitCode)

Set this parameter is returned only if the task is in the completed state. The exit code for a process reflects the specific convention implemented by the application developer for that process. If you use the exit code value to make decisions in your code, be sure that you know the exit code convention used by the application process. Note that the exit code may also be generated by the compute node operating system, such as when a process is forcibly terminated.

withFailureInfo(TaskFailureInformation failureInfo)

Set this property is set only if the task is in the completed state and encountered a failure.

withResult(TaskExecutionResult result)

Set if the value is 'failed', then the details of the failure can be found in the failureInfo property. Possible values include: 'success', 'failure'.

withStartTime(DateTime startTime)

Set if the task has been restarted or retried, this is the most recent time at which the task started running.

withState(JobReleaseTaskState state)

Set possible values include: 'running', 'completed'.

withTaskRootDirectory(String taskRootDirectory)

Set the taskRootDirectory value.

withTaskRootDirectoryUrl(String taskRootDirectoryUrl)

Set the taskRootDirectoryUrl value.

适用于