OperationStatus Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. formrecognizer. documentanalysis. administration. models. OperationStatus
- com.
- com.
public final class OperationStatus
extends ExpandableStringEnum<OperationStatus>
Known values for operation status.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Operation |
CANCELED
Static value canceled for Operation |
static final
Operation |
FAILED
Static value failed for Operation |
static final
Operation |
NOT_STARTED
Static value not |
static final
Operation |
RUNNING
Static value running for Operation |
static final
Operation |
SUCCEEDED
Static value succeeded for Operation |
Constructor Summary
Constructor | Description |
---|---|
OperationStatus() |
Deprecated
Use the fromString(String name) factory method.
Creates a Operation |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Operation |
fromString(String name)
Creates or finds a Operation |
static
Collection<Operation |
values()
Returns known Operation |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
CANCELED
public static final OperationStatus CANCELED
Static value canceled for OperationStatus.
FAILED
public static final OperationStatus FAILED
Static value failed for OperationStatus.
NOT_STARTED
public static final OperationStatus NOT_STARTED
Static value notStarted for OperationStatus.
RUNNING
public static final OperationStatus RUNNING
Static value running for OperationStatus.
SUCCEEDED
public static final OperationStatus SUCCEEDED
Static value succeeded for OperationStatus.
Constructor Details
OperationStatus
@Deprecated
public OperationStatus()
Deprecated
Creates a OperationStatus object.
Method Details
fromString
public static OperationStatus fromString(String name)
Creates or finds a OperationStatus from its string representation.
Parameters:
Returns:
values
public static Collection
Returns known OperationStatus values.
Returns: