Serializable, Comparable<CancelStatus>public enum CancelStatus extends Enum<CancelStatus>
| Enum Constant | Description |
|---|---|
ERROR |
|
FAILED |
|
PENDING |
|
SUCCESSFUL |
| Modifier and Type | Method | Description |
|---|---|---|
static CancelStatus |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static CancelStatus[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName("pending")
public static final CancelStatus PENDING
@SerializedName("successful")
public static final CancelStatus SUCCESSFUL
@SerializedName("failed")
public static final CancelStatus FAILED
@SerializedName("error")
public static final CancelStatus ERROR
public static CancelStatus[] values()
for (CancelStatus c : CancelStatus.values()) System.out.println(c);
public static CancelStatus 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 nullCopyright © 2018 The Apache Software Foundation. All rights reserved.