public static enum BoxTask.Action extends Enum<BoxTask.Action>
Enum Constant and Description |
---|
COMPLETE
The task must be completed.
|
REVIEW
The task must be reviewed.
|
Modifier and Type | Method and Description |
---|---|
static BoxTask.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoxTask.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoxTask.Action REVIEW
public static final BoxTask.Action COMPLETE
public static BoxTask.Action[] values()
for (BoxTask.Action c : BoxTask.Action.values()) System.out.println(c);
public static BoxTask.Action valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null