|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CompletionStatus>
org.addsimplicity.anicetus.entity.CompletionStatus
public enum CompletionStatus
The completion status defines the outcome of a session or transaction.
| Enum Constant Summary | |
|---|---|
Failure
The execution failed. |
|
PartialSuccess
The execution completed, but only part of the task goals were completed. |
|
Success
The execution completed successfully. |
|
Unknown
The completion status was not set by the application. |
|
| Method Summary | |
|---|---|
static CompletionStatus |
fromAbbreviation(char abbrev)
Translate the single letter status abbreviation to the enumeration instance. |
char |
getAbbreviation()
Get the abbreviation from the enumeration. |
static CompletionStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CompletionStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CompletionStatus Success
public static final CompletionStatus Failure
public static final CompletionStatus PartialSuccess
public static final CompletionStatus Unknown
| Method Detail |
|---|
public static final CompletionStatus[] values()
for(CompletionStatus c : CompletionStatus.values())
System.out.println(c);
public static CompletionStatus 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 namepublic static CompletionStatus fromAbbreviation(char abbrev)
abbrev - The single letter abbreviation.
public char getAbbreviation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||