Package com.azure.compute.batch.models
Class OutputFileUploadCondition
java.lang.Object
com.azure.core.util.ExpandableStringEnum<OutputFileUploadCondition>
com.azure.compute.batch.models.OutputFileUploadCondition
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class OutputFileUploadCondition
extends com.azure.core.util.ExpandableStringEnum<OutputFileUploadCondition>
OutputFileUploadCondition enums.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OutputFileUploadCondition
Upload the file(s) after the Task process exits, no matter what the exit code was.static final OutputFileUploadCondition
Upload the file(s) only after the Task process exits with a nonzero exit code.static final OutputFileUploadCondition
Upload the file(s) only after the Task process exits with an exit code of 0. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OutputFileUploadCondition
fromString
(String name) Creates or finds a OutputFileUploadCondition from its string representation.static Collection
<OutputFileUploadCondition> values()
Gets known OutputFileUploadCondition values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
TASK_SUCCESS
Upload the file(s) only after the Task process exits with an exit code of 0. -
TASK_FAILURE
Upload the file(s) only after the Task process exits with a nonzero exit code. -
TASK_COMPLETION
Upload the file(s) after the Task process exits, no matter what the exit code was.
-
-
Constructor Details
-
OutputFileUploadCondition
Deprecated.Use thefromString(String)
factory method.Creates a new instance of OutputFileUploadCondition value.
-
-
Method Details
-
fromString
Creates or finds a OutputFileUploadCondition from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding OutputFileUploadCondition.
-
values
Gets known OutputFileUploadCondition values.- Returns:
- known OutputFileUploadCondition values.
-
fromString(String)
factory method.