Class OperationStatus
java.lang.Object
com.azure.core.util.ExpandableStringEnum<OperationStatus>
com.azure.health.deidentification.models.OperationStatus
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class OperationStatus
extends com.azure.core.util.ExpandableStringEnum<OperationStatus>
Enum describing allowed operation states.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OperationStatusThe operation has been canceled by the user.static final OperationStatusThe operation has failed.static final OperationStatusThe operation has not started.static final OperationStatusThe operation is in progress.static final OperationStatusThe operation has completed successfully. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OperationStatusfromString(String name) Creates or finds a OperationStatus from its string representation.static Collection<OperationStatus> values()Gets known OperationStatus values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
NOT_STARTED
The operation has not started. -
RUNNING
The operation is in progress. -
SUCCEEDED
The operation has completed successfully. -
FAILED
The operation has failed. -
CANCELED
The operation has been canceled by the user.
-
-
Constructor Details
-
OperationStatus
Deprecated.Use thefromString(String)factory method.Creates a new instance of OperationStatus value.
-
-
Method Details
-
fromString
Creates or finds a OperationStatus from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding OperationStatus.
-
values
Gets known OperationStatus values.- Returns:
- known OperationStatus values.
-
fromString(String)factory method.