Class OperationStatus
java.lang.Object
com.azure.core.util.ExpandableStringEnum<OperationStatus>
com.azure.ai.formrecognizer.documentanalysis.administration.models.OperationStatus
public final class OperationStatus
extends com.azure.core.util.ExpandableStringEnum<OperationStatus>
Known values for operation status.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final OperationStatus
Static value canceled for OperationStatus.static final OperationStatus
Static value failed for OperationStatus.static final OperationStatus
Static value notStarted for OperationStatus.static final OperationStatus
Static value running for OperationStatus.static final OperationStatus
Static value succeeded for OperationStatus. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic OperationStatus
fromString
(String name) Creates or finds a OperationStatus from its string representation.static Collection<OperationStatus>
values()
Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
NOT_STARTED
Static value notStarted for OperationStatus. -
RUNNING
Static value running for OperationStatus. -
FAILED
Static value failed for OperationStatus. -
SUCCEEDED
Static value succeeded for OperationStatus. -
CANCELED
Static value canceled for OperationStatus.
-
-
Constructor Details
-
OperationStatus
public OperationStatus()
-
-
Method Details
-
fromString
Creates or finds a OperationStatus from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding OperationStatus.
-
values
- Returns:
- known OperationStatus values.
-