public final class CompletionStatus extends Object implements Serializable, IDLEntity
Modifier and Type | Field and Description |
---|---|
static int |
_COMPLETED_MAYBE
The method was either running or complete (no exact information availabe)
when the exception was thrown.
|
static int |
_COMPLETED_NO
The method was running when the exception was thrown.
|
static int |
_COMPLETED_YES
The method was completed when the exception was thrown.
|
static CompletionStatus |
COMPLETED_MAYBE
An instance of CompletionStatus, initialized to
COMPLETED_MAYBE |
static CompletionStatus |
COMPLETED_NO
An instance of CompletionStatus, initialized to
COMPLETED_NO |
static CompletionStatus |
COMPLETED_YES
An instance of CompletionStatus, initialized to
COMPLETED_YES |
Modifier and Type | Method and Description |
---|---|
static CompletionStatus |
from_int(int completion)
Returns the CompletionStatus, matching the given integer constant
|
String |
toString()
Returns a short string representation.
|
int |
value()
Returns the value, representing the completion
status of this object.
|
public static final int _COMPLETED_YES
public static final int _COMPLETED_NO
public static final int _COMPLETED_MAYBE
public static final CompletionStatus COMPLETED_YES
COMPLETED_YES
public static final CompletionStatus COMPLETED_NO
COMPLETED_NO
public static final CompletionStatus COMPLETED_MAYBE
COMPLETED_MAYBE
public static CompletionStatus from_int(int completion)
completion
- one of COMPLETED_YES, COMPLETED_NO or COMPLEED_MAYBE.BAD_PARAM
- if the parameter is not one of these three valid values.public String toString()
toString
in class Object
Object.getClass()
,
Object.hashCode()
,
Class.getName()
,
Integer.toHexString(int)
public int value()