public enum DocTransState extends java.lang.Enum<DocTransState>
Enum Constant and Description |
---|
Completed |
Failed |
Ongoing |
Preparing |
Timeout |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static DocTransState |
typeOfValue(int value) |
static DocTransState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DocTransState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocTransState Preparing
public static final DocTransState Ongoing
public static final DocTransState Timeout
public static final DocTransState Completed
public static final DocTransState Failed
public static DocTransState[] values()
for (DocTransState c : DocTransState.values()) System.out.println(c);
public static DocTransState 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 int getValue()
public static DocTransState typeOfValue(int value)