Class TaskInformation
- java.lang.Object
-
- com.microsoft.azure.batch.protocol.models.TaskInformation
-
public class TaskInformation extends Object
Information about a task running on a compute node.
-
-
Constructor Summary
Constructors Constructor Description TaskInformation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskExecutionInformationexecutionInfo()Get the executionInfo value.StringjobId()Get the jobId value.IntegersubtaskId()Get the subtaskId value.StringtaskId()Get the taskId value.TaskStatetaskState()Get possible values include: 'active', 'preparing', 'running', 'completed'.StringtaskUrl()Get the taskUrl value.TaskInformationwithExecutionInfo(TaskExecutionInformation executionInfo)Set the executionInfo value.TaskInformationwithJobId(String jobId)Set the jobId value.TaskInformationwithSubtaskId(Integer subtaskId)Set the subtaskId value.TaskInformationwithTaskId(String taskId)Set the taskId value.TaskInformationwithTaskState(TaskState taskState)Set possible values include: 'active', 'preparing', 'running', 'completed'.TaskInformationwithTaskUrl(String taskUrl)Set the taskUrl value.
-
-
-
Method Detail
-
taskUrl
public String taskUrl()
Get the taskUrl value.- Returns:
- the taskUrl value
-
withTaskUrl
public TaskInformation withTaskUrl(String taskUrl)
Set the taskUrl value.- Parameters:
taskUrl- the taskUrl value to set- Returns:
- the TaskInformation object itself.
-
jobId
public String jobId()
Get the jobId value.- Returns:
- the jobId value
-
withJobId
public TaskInformation withJobId(String jobId)
Set the jobId value.- Parameters:
jobId- the jobId value to set- Returns:
- the TaskInformation object itself.
-
taskId
public String taskId()
Get the taskId value.- Returns:
- the taskId value
-
withTaskId
public TaskInformation withTaskId(String taskId)
Set the taskId value.- Parameters:
taskId- the taskId value to set- Returns:
- the TaskInformation object itself.
-
subtaskId
public Integer subtaskId()
Get the subtaskId value.- Returns:
- the subtaskId value
-
withSubtaskId
public TaskInformation withSubtaskId(Integer subtaskId)
Set the subtaskId value.- Parameters:
subtaskId- the subtaskId value to set- Returns:
- the TaskInformation object itself.
-
taskState
public TaskState taskState()
Get possible values include: 'active', 'preparing', 'running', 'completed'.- Returns:
- the taskState value
-
withTaskState
public TaskInformation withTaskState(TaskState taskState)
Set possible values include: 'active', 'preparing', 'running', 'completed'.- Parameters:
taskState- the taskState value to set- Returns:
- the TaskInformation object itself.
-
executionInfo
public TaskExecutionInformation executionInfo()
Get the executionInfo value.- Returns:
- the executionInfo value
-
withExecutionInfo
public TaskInformation withExecutionInfo(TaskExecutionInformation executionInfo)
Set the executionInfo value.- Parameters:
executionInfo- the executionInfo value to set- Returns:
- the TaskInformation object itself.
-
-