| Enum Constant and Description |
|---|
DELETED |
DISCARDED |
LIVE |
PENDING |
PENDING_DELETE |
REJECTED |
UPDATED |
| Modifier and Type | Method and Description |
|---|---|
static DocStatus |
fromStatus(java.lang.String status) |
java.lang.String |
toString() |
static DocStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DocStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocStatus LIVE
public static final DocStatus UPDATED
public static final DocStatus DELETED
public static final DocStatus PENDING
public static final DocStatus PENDING_DELETE
public static final DocStatus REJECTED
public static final DocStatus DISCARDED
public static DocStatus[] values()
for (DocStatus c : DocStatus.values()) System.out.println(c);
public static DocStatus 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 DocStatus fromStatus(java.lang.String status)
public java.lang.String toString()
toString in class java.lang.Enum<DocStatus>