azure-docs-sdk-java/docs-ref-autogen/com.microsoft.azure.batch.p...

108 строки
7.7 KiB
YAML

### YamlMime:JavaEnum
uid: "com.microsoft.azure.batch.protocol.models.TaskState"
fullName: "com.microsoft.azure.batch.protocol.models.TaskState"
name: "TaskState"
nameWithType: "TaskState"
summary: "Defines values for Task<wbr>State."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Enum?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html\">Enum</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#valueOf-java.lang.Class-java.lang.String-\">valueOf</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#compareTo-E-\">compareTo</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#describeConstable--\">describeConstable</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#getDeclaringClass--\">getDeclaringClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#name--\">name</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#ordinal--\">ordinal</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#toString--\">toString</a>"
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public enum **TaskState**</br> extends <a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html\">Enum</a>&lt;<xref href=\"com.microsoft.azure.batch.protocol.models.TaskState?alt=com.microsoft.azure.batch.protocol.models.TaskState&text=TaskState\" data-throw-if-not-resolved=\"False\" />&gt;"
fields:
- uid: "com.microsoft.azure.batch.protocol.models.TaskState.ACTIVE"
fullName: "com.microsoft.azure.batch.protocol.models.TaskState.ACTIVE"
name: "ACTIVE"
nameWithType: "TaskState.ACTIVE"
summary: "The Task is queued and able to run, but is not currently assigned to a Compute Node."
desc: "The Task is queued and able to run, but is not currently assigned to a Compute Node. A Task enters this state when it is created, when it is enabled after being disabled, or when it is awaiting a retry after a failed run."
- uid: "com.microsoft.azure.batch.protocol.models.TaskState.COMPLETED"
fullName: "com.microsoft.azure.batch.protocol.models.TaskState.COMPLETED"
name: "COMPLETED"
nameWithType: "TaskState.COMPLETED"
summary: "The Task is no longer eligible to run, usually because the Task has finished successfully, or the Task has finished unsuccessfully and has exhausted its retry limit."
desc: "The Task is no longer eligible to run, usually because the Task has finished successfully, or the Task has finished unsuccessfully and has exhausted its retry limit. A Task is also marked as completed if an error occurred launching the Task, or when the Task has been terminated."
- uid: "com.microsoft.azure.batch.protocol.models.TaskState.PREPARING"
fullName: "com.microsoft.azure.batch.protocol.models.TaskState.PREPARING"
name: "PREPARING"
nameWithType: "TaskState.PREPARING"
summary: "The Task has been assigned to a Compute Node, but is waiting for a required Job Preparation Task to complete on the Compute Node."
desc: "The Task has been assigned to a Compute Node, but is waiting for a required Job Preparation Task to complete on the Compute Node. If the Job Preparation Task succeeds, the Task will move to running. If the Job Preparation Task fails, the Task will return to active and will be eligible to be assigned to a different Compute Node."
- uid: "com.microsoft.azure.batch.protocol.models.TaskState.RUNNING"
fullName: "com.microsoft.azure.batch.protocol.models.TaskState.RUNNING"
name: "RUNNING"
nameWithType: "TaskState.RUNNING"
summary: "The Task is running on a Compute Node."
desc: "The Task is running on a Compute Node. This includes task-level preparation such as downloading resource files or deploying Packages specified on the Task - it does not necessarily mean that the Task command line has started executing."
methods:
- uid: "com.microsoft.azure.batch.protocol.models.TaskState.fromString(java.lang.String)"
fullName: "com.microsoft.azure.batch.protocol.models.TaskState.fromString(String value)"
name: "fromString(String value)"
nameWithType: "TaskState.fromString(String value)"
summary: "Parses a serialized value to a Task<wbr>State instance."
modifiers:
- "static"
parameters:
- description: "the serialized value to parse."
name: "value"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public static TaskState fromString(String value)"
desc: "Parses a serialized value to a TaskState instance."
returns:
description: "the parsed TaskState object, or null if unable to parse."
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.TaskState?alt=com.microsoft.azure.batch.protocol.models.TaskState&text=TaskState\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.batch.protocol.models.TaskState.toString()"
fullName: "com.microsoft.azure.batch.protocol.models.TaskState.toString()"
name: "toString()"
nameWithType: "TaskState.toString()"
overridden: "java.lang.Enum.toString()"
syntax: "public String toString()"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.microsoft.azure.batch.protocol.models.TaskState.valueOf(java.lang.String)"
fullName: "com.microsoft.azure.batch.protocol.models.TaskState.valueOf(String name)"
name: "valueOf(String name)"
nameWithType: "TaskState.valueOf(String name)"
modifiers:
- "static"
parameters:
- name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public static TaskState valueOf(String name)"
returns:
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.TaskState?alt=com.microsoft.azure.batch.protocol.models.TaskState&text=TaskState\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.batch.protocol.models.TaskState.values()"
fullName: "com.microsoft.azure.batch.protocol.models.TaskState.values()"
name: "values()"
nameWithType: "TaskState.values()"
modifiers:
- "static"
syntax: "public static TaskState[] values()"
returns:
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.TaskState?alt=com.microsoft.azure.batch.protocol.models.TaskState&text=TaskState\" data-throw-if-not-resolved=\"False\" />[]"
desc: "Defines values for TaskState."
metadata: {}
package: "com.microsoft.azure.batch.protocol.models"
artifact: com.microsoft.azure:azure-batch:11.2.0