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

97 строки
4.5 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\" />"
inheritedMembers:
- "java.lang.Enum.<T>valueOf(java.lang.Class<T>,java.lang.String)"
- "java.lang.Enum.clone()"
- "java.lang.Enum.compareTo(E)"
- "java.lang.Enum.equals(java.lang.Object)"
- "java.lang.Enum.finalize()"
- "java.lang.Enum.getDeclaringClass()"
- "java.lang.Enum.hashCode()"
- "java.lang.Enum.name()"
- "java.lang.Enum.ordinal()"
- "java.lang.Enum.toString()"
- "java.lang.Object.getClass()"
- "java.lang.Object.notify()"
- "java.lang.Object.notifyAll()"
- "java.lang.Object.wait()"
- "java.lang.Object.wait(long)"
- "java.lang.Object.wait(long,int)"
syntax: "public enum JobAction extends Enum<JobAction>"
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:9.0.0