public enum AnnotationState extends java.lang.Enum<AnnotationState>
Modifier and Type | Class and Description |
---|---|
static class |
AnnotationState.Adapter |
Enum Constant and Description |
---|
ACCEPTED |
CANCELLED |
COMPLETED |
MARKED |
NONE |
REJECTED |
UNDEFINED |
UNMARKED |
Modifier and Type | Method and Description |
---|---|
static AnnotationState |
fromValue(java.lang.String text) |
java.lang.String |
getValue() |
java.lang.String |
toString() |
static AnnotationState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationState UNDEFINED
public static final AnnotationState MARKED
public static final AnnotationState UNMARKED
public static final AnnotationState ACCEPTED
public static final AnnotationState REJECTED
public static final AnnotationState CANCELLED
public static final AnnotationState COMPLETED
public static final AnnotationState NONE
public static AnnotationState[] values()
for (AnnotationState c : AnnotationState.values()) System.out.println(c);
public static AnnotationState 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 java.lang.String getValue()
public java.lang.String toString()
toString
in class java.lang.Enum<AnnotationState>
public static AnnotationState fromValue(java.lang.String text)