BatchTaskInfo Class
- java.
lang. Object - com.
azure. compute. batch. models. BatchTaskInfo
- com.
Implements
public final class BatchTaskInfo
implements JsonSerializable<BatchTaskInfo>
Information about a Task running on a Compute Node.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
|
Batch |
getExecutionInfo()
Get the execution |
| String |
getJobId()
Get the job |
| Integer |
getSubtaskId()
Get the subtask |
| String |
getTaskId()
Get the task |
|
Batch |
getTaskState()
Get the task |
| String |
getTaskUrl()
Get the task |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static BatchTaskInfo fromJson(JsonReader jsonReader)
Reads an instance of BatchTaskInfo from the JsonReader.
Parameters:
Returns:
Throws:
getExecutionInfo
public BatchTaskExecutionInfo getExecutionInfo()
Get the executionInfo property: Information about the execution of the Task.
Returns:
getJobId
public String getJobId()
Get the jobId property: The ID of the Job to which the Task belongs.
Returns:
getSubtaskId
public Integer getSubtaskId()
Get the subtaskId property: The ID of the subtask if the Task is a multi-instance Task.
Returns:
getTaskId
public String getTaskId()
Get the taskId property: The ID of the Task.
Returns:
getTaskState
public BatchTaskState getTaskState()
Get the taskState property: The current state of the Task.
Returns:
getTaskUrl
public String getTaskUrl()
Get the taskUrl property: The URL of the Task.
Returns: