public enum OperationStatus extends Enum<OperationStatus>
Enum Constant and Description |
---|
CREATED
Enum value Created.
|
FAILED
Enum value Failed.
|
IN_PROGRESS
Enum value InProgress.
|
SUCCEEDED
Enum value Succeeded.
|
TIMED_OUT
Enum value TimedOut.
|
Modifier and Type | Method and Description |
---|---|
static OperationStatus |
fromString(String value)
Parses a serialized value to a OperationStatus instance.
|
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 IN_PROGRESS
public static final OperationStatus FAILED
public static final OperationStatus SUCCEEDED
public static final OperationStatus TIMED_OUT
public static final OperationStatus CREATED
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 static OperationStatus fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<OperationStatus>
Copyright © 2019. All rights reserved.