|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CancelResults.InterruptedState>
org.rhq.core.clientapi.agent.operation.CancelResults.InterruptedState
public static enum CancelResults.InterruptedState
Defines the different states an operation job can be in when being canceled.
| Enum Constant Summary | |
|---|---|
FINISHED
The operation job has already finished. |
|
QUEUED
The operation job was queued but not yet handed off to the plugin to be invoked. |
|
RUNNING
The operation job was running at the time it was canceled. |
|
UNKNOWN
The operation invocation's job ID is not known and therefore nothing can be canceled. |
|
| Method Summary | |
|---|---|
static CancelResults.InterruptedState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CancelResults.InterruptedState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CancelResults.InterruptedState FINISHED
public static final CancelResults.InterruptedState RUNNING
public static final CancelResults.InterruptedState QUEUED
public static final CancelResults.InterruptedState UNKNOWN
| Method Detail |
|---|
public static CancelResults.InterruptedState[] values()
for (CancelResults.InterruptedState c : CancelResults.InterruptedState.values()) System.out.println(c);
public static CancelResults.InterruptedState valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||