public enum ToDoStatus extends Enum<ToDoStatus> implements Serializable
| Enum Constant and Description |
|---|
Abandoned
Work has stopped on the action and will not recommence.
|
Complete
The action has been completed successfully.
|
InProgress
Work is underway to complete the action.
|
Open
No action has been taken.
|
Waiting
Work is blocked waiting for resource of another action to complete.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the description for the enum.
|
String |
getName()
Return the descriptive name for the ToDoStatus enum instance
|
int |
getOrdinal()
Return the numerical value for the enum.
|
static ToDoStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ToDoStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ToDoStatus Open
public static final ToDoStatus InProgress
public static final ToDoStatus Waiting
public static final ToDoStatus Complete
public static final ToDoStatus Abandoned
public static ToDoStatus[] values()
for (ToDoStatus c : ToDoStatus.values()) System.out.println(c);
public static ToDoStatus 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 nullpublic int getOrdinal()
public String getDescription()
public String getName()
Copyright © 2018 ODPi. All rights reserved.