### YamlMime:JavaType uid: "com.microsoft.azure.batch.protocol.models.ExitConditions" fullName: "com.microsoft.azure.batch.protocol.models.ExitConditions" name: "ExitConditions" nameWithType: "ExitConditions" summary: "Specifies how the Batch service should respond when the Task completes." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public class **ExitConditions**" constructors: - uid: "com.microsoft.azure.batch.protocol.models.ExitConditions.ExitConditions()" fullName: "com.microsoft.azure.batch.protocol.models.ExitConditions.ExitConditions()" name: "ExitConditions()" nameWithType: "ExitConditions.ExitConditions()" syntax: "public ExitConditions()" methods: - uid: "com.microsoft.azure.batch.protocol.models.ExitConditions.defaultProperty()" fullName: "com.microsoft.azure.batch.protocol.models.ExitConditions.defaultProperty()" name: "defaultProperty()" nameWithType: "ExitConditions.defaultProperty()" summary: "Get this value is used if the Task exits with any nonzero exit code not listed in the exitCodes or exitCodeRanges collection, with a pre-processing error if the preProcessingError property is not present, or with a file upload error if the fileUploadError property is not present." syntax: "public ExitOptions defaultProperty()" desc: "Get this value is used if the Task exits with any nonzero exit code not listed in the exitCodes or exitCodeRanges collection, with a pre-processing error if the preProcessingError property is not present, or with a file upload error if the fileUploadError property is not present. If you want non-default behavior on exit code 0, you must list it explicitly using the exitCodes or exitCodeRanges collection." returns: description: "the defaultProperty value" type: "" - uid: "com.microsoft.azure.batch.protocol.models.ExitConditions.exitCodeRanges()" fullName: "com.microsoft.azure.batch.protocol.models.ExitConditions.exitCodeRanges()" name: "exitCodeRanges()" nameWithType: "ExitConditions.exitCodeRanges()" summary: "Get the exitCodeRanges value." syntax: "public List exitCodeRanges()" desc: "Get the exitCodeRanges value." returns: description: "the exitCodeRanges value" type: "List<>" - uid: "com.microsoft.azure.batch.protocol.models.ExitConditions.exitCodes()" fullName: "com.microsoft.azure.batch.protocol.models.ExitConditions.exitCodes()" name: "exitCodes()" nameWithType: "ExitConditions.exitCodes()" summary: "Get the exitCodes value." syntax: "public List exitCodes()" desc: "Get the exitCodes value." returns: description: "the exitCodes value" type: "List<>" - uid: "com.microsoft.azure.batch.protocol.models.ExitConditions.fileUploadError()" fullName: "com.microsoft.azure.batch.protocol.models.ExitConditions.fileUploadError()" name: "fileUploadError()" nameWithType: "ExitConditions.fileUploadError()" summary: "Get if the Task exited with an exit code that was specified via exitCodes or exitCodeRanges, and then encountered a file upload error, then the action specified by the exit code takes precedence." syntax: "public ExitOptions fileUploadError()" desc: "Get if the Task exited with an exit code that was specified via exitCodes or exitCodeRanges, and then encountered a file upload error, then the action specified by the exit code takes precedence." returns: description: "the fileUploadError value" type: "" - uid: "com.microsoft.azure.batch.protocol.models.ExitConditions.preProcessingError()" fullName: "com.microsoft.azure.batch.protocol.models.ExitConditions.preProcessingError()" name: "preProcessingError()" nameWithType: "ExitConditions.preProcessingError()" summary: "Get the preProcessingError value." syntax: "public ExitOptions preProcessingError()" desc: "Get the preProcessingError value." returns: description: "the preProcessingError value" type: "" - uid: "com.microsoft.azure.batch.protocol.models.ExitConditions.withDefaultProperty(com.microsoft.azure.batch.protocol.models.ExitOptions)" fullName: "com.microsoft.azure.batch.protocol.models.ExitConditions.withDefaultProperty(ExitOptions defaultProperty)" name: "withDefaultProperty(ExitOptions defaultProperty)" nameWithType: "ExitConditions.withDefaultProperty(ExitOptions defaultProperty)" summary: "Set this value is used if the Task exits with any nonzero exit code not listed in the exitCodes or exitCodeRanges collection, with a pre-processing error if the preProcessingError property is not present, or with a file upload error if the fileUploadError property is not present." parameters: - description: "the defaultProperty value to set" name: "defaultProperty" type: "" syntax: "public ExitConditions withDefaultProperty(ExitOptions defaultProperty)" desc: "Set this value is used if the Task exits with any nonzero exit code not listed in the exitCodes or exitCodeRanges collection, with a pre-processing error if the preProcessingError property is not present, or with a file upload error if the fileUploadError property is not present. If you want non-default behavior on exit code 0, you must list it explicitly using the exitCodes or exitCodeRanges collection." returns: description: "the ExitConditions object itself." type: "" - uid: "com.microsoft.azure.batch.protocol.models.ExitConditions.withExitCodeRanges(java.util.List)" fullName: "com.microsoft.azure.batch.protocol.models.ExitConditions.withExitCodeRanges(List exitCodeRanges)" name: "withExitCodeRanges(List exitCodeRanges)" nameWithType: "ExitConditions.withExitCodeRanges(List exitCodeRanges)" summary: "Set the exitCodeRanges value." parameters: - description: "the exitCodeRanges value to set" name: "exitCodeRanges" type: "List<>" syntax: "public ExitConditions withExitCodeRanges(List exitCodeRanges)" desc: "Set the exitCodeRanges value." returns: description: "the ExitConditions object itself." type: "" - uid: "com.microsoft.azure.batch.protocol.models.ExitConditions.withExitCodes(java.util.List)" fullName: "com.microsoft.azure.batch.protocol.models.ExitConditions.withExitCodes(List exitCodes)" name: "withExitCodes(List exitCodes)" nameWithType: "ExitConditions.withExitCodes(List exitCodes)" summary: "Set the exitCodes value." parameters: - description: "the exitCodes value to set" name: "exitCodes" type: "List<>" syntax: "public ExitConditions withExitCodes(List exitCodes)" desc: "Set the exitCodes value." returns: description: "the ExitConditions object itself." type: "" - uid: "com.microsoft.azure.batch.protocol.models.ExitConditions.withFileUploadError(com.microsoft.azure.batch.protocol.models.ExitOptions)" fullName: "com.microsoft.azure.batch.protocol.models.ExitConditions.withFileUploadError(ExitOptions fileUploadError)" name: "withFileUploadError(ExitOptions fileUploadError)" nameWithType: "ExitConditions.withFileUploadError(ExitOptions fileUploadError)" summary: "Set if the Task exited with an exit code that was specified via exitCodes or exitCodeRanges, and then encountered a file upload error, then the action specified by the exit code takes precedence." parameters: - description: "the fileUploadError value to set" name: "fileUploadError" type: "" syntax: "public ExitConditions withFileUploadError(ExitOptions fileUploadError)" desc: "Set if the Task exited with an exit code that was specified via exitCodes or exitCodeRanges, and then encountered a file upload error, then the action specified by the exit code takes precedence." returns: description: "the ExitConditions object itself." type: "" - uid: "com.microsoft.azure.batch.protocol.models.ExitConditions.withPreProcessingError(com.microsoft.azure.batch.protocol.models.ExitOptions)" fullName: "com.microsoft.azure.batch.protocol.models.ExitConditions.withPreProcessingError(ExitOptions preProcessingError)" name: "withPreProcessingError(ExitOptions preProcessingError)" nameWithType: "ExitConditions.withPreProcessingError(ExitOptions preProcessingError)" summary: "Set the preProcessingError value." parameters: - description: "the preProcessingError value to set" name: "preProcessingError" type: "" syntax: "public ExitConditions withPreProcessingError(ExitOptions preProcessingError)" desc: "Set the preProcessingError value." returns: description: "the ExitConditions object itself." type: "" type: "class" desc: "Specifies how the Batch service should respond when the Task completes." metadata: {} package: "com.microsoft.azure.batch.protocol.models" artifact: com.microsoft.azure:azure-batch:11.2.0