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

102 строки
6.3 KiB
YAML

### YamlMime:JavaEnum
uid: "com.microsoft.azure.batch.protocol.models.JobAction"
fullName: "com.microsoft.azure.batch.protocol.models.JobAction"
name: "JobAction"
nameWithType: "JobAction"
summary: "Defines values for Job<wbr>Action."
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 **JobAction**</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.JobAction?alt=com.microsoft.azure.batch.protocol.models.JobAction&text=JobAction\" data-throw-if-not-resolved=\"False\" />&gt;"
fields:
- uid: "com.microsoft.azure.batch.protocol.models.JobAction.DISABLE"
fullName: "com.microsoft.azure.batch.protocol.models.JobAction.DISABLE"
name: "DISABLE"
nameWithType: "JobAction.DISABLE"
summary: "Disable the Job."
desc: "Disable the Job. This is equivalent to calling the disable Job API, with a disableTasks value of requeue."
- uid: "com.microsoft.azure.batch.protocol.models.JobAction.NONE"
fullName: "com.microsoft.azure.batch.protocol.models.JobAction.NONE"
name: "NONE"
nameWithType: "JobAction.NONE"
summary: "Take no action."
desc: "Take no action."
- uid: "com.microsoft.azure.batch.protocol.models.JobAction.TERMINATE"
fullName: "com.microsoft.azure.batch.protocol.models.JobAction.TERMINATE"
name: "TERMINATE"
nameWithType: "JobAction.TERMINATE"
summary: "Terminate the Job."
desc: "Terminate the Job. The terminateReason in the Job's executionInfo is set to \"TaskFailed\"."
methods:
- uid: "com.microsoft.azure.batch.protocol.models.JobAction.fromString(java.lang.String)"
fullName: "com.microsoft.azure.batch.protocol.models.JobAction.fromString(String value)"
name: "fromString(String value)"
nameWithType: "JobAction.fromString(String value)"
summary: "Parses a serialized value to a Job<wbr>Action 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 JobAction fromString(String value)"
desc: "Parses a serialized value to a JobAction instance."
returns:
description: "the parsed JobAction object, or null if unable to parse."
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.JobAction?alt=com.microsoft.azure.batch.protocol.models.JobAction&text=JobAction\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.batch.protocol.models.JobAction.toString()"
fullName: "com.microsoft.azure.batch.protocol.models.JobAction.toString()"
name: "toString()"
nameWithType: "JobAction.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.JobAction.valueOf(java.lang.String)"
fullName: "com.microsoft.azure.batch.protocol.models.JobAction.valueOf(String name)"
name: "valueOf(String name)"
nameWithType: "JobAction.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 JobAction valueOf(String name)"
returns:
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.JobAction?alt=com.microsoft.azure.batch.protocol.models.JobAction&text=JobAction\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.batch.protocol.models.JobAction.values()"
fullName: "com.microsoft.azure.batch.protocol.models.JobAction.values()"
name: "values()"
nameWithType: "JobAction.values()"
modifiers:
- "static"
syntax: "public static JobAction[] values()"
returns:
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.JobAction?alt=com.microsoft.azure.batch.protocol.models.JobAction&text=JobAction\" data-throw-if-not-resolved=\"False\" />[]"
desc: "Defines values for JobAction."
metadata: {}
package: "com.microsoft.azure.batch.protocol.models"
artifact: com.microsoft.azure:azure-batch:11.2.0