public enum AttachStatusEnum extends java.lang.Enum<AttachStatusEnum>
Enum Constant and Description |
---|
cancel
Cancelled
|
def
Waiting, This is the default value
|
fail
Failed
|
transferred
Complete
|
transferring
Transferring
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static AttachStatusEnum |
statusOfValue(int status) |
static AttachStatusEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AttachStatusEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttachStatusEnum def
public static final AttachStatusEnum transferring
public static final AttachStatusEnum transferred
public static final AttachStatusEnum fail
public static final AttachStatusEnum cancel
public static AttachStatusEnum[] values()
for (AttachStatusEnum c : AttachStatusEnum.values()) System.out.println(c);
public static AttachStatusEnum 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 AttachStatusEnum statusOfValue(int status)
public int getValue()