public enum TransferStatus extends java.lang.Enum<TransferStatus>
| Enum Constant and Description |
|---|
COMPLETED |
FAILED |
REQUESTED |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static TransferStatus |
fromCode(java.lang.Integer code) |
static TransferStatus |
fromName(java.lang.String name) |
int |
getCode() |
java.lang.String |
getDescription() |
static TransferStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransferStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferStatus UNKNOWN
public static final TransferStatus REQUESTED
public static final TransferStatus FAILED
public static final TransferStatus COMPLETED
public static TransferStatus[] values()
for (TransferStatus c : TransferStatus.values()) System.out.println(c);
public static TransferStatus valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static TransferStatus fromCode(java.lang.Integer code)
public static TransferStatus fromName(java.lang.String name)
public int getCode()
public java.lang.String getDescription()