public enum OperationStatus extends Enum<OperationStatus>
| Enum Constant and Description |
|---|
CANCELLED |
COMPLETED |
FAILED |
IN_PROGRESS |
NOT_STARTED |
| Modifier and Type | Method and Description |
|---|---|
static OperationStatus |
fromValue(String input) |
String |
getValue() |
String |
toString() |
static OperationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationStatus NOT_STARTED
public static final OperationStatus IN_PROGRESS
public static final OperationStatus COMPLETED
public static final OperationStatus FAILED
public static final OperationStatus CANCELLED
public static OperationStatus[] values()
for (OperationStatus c : OperationStatus.values()) System.out.println(c);
public static OperationStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
public String toString()
toString in class Enum<OperationStatus>public static OperationStatus fromValue(String input)
Copyright © 2025. All rights reserved.