|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ExecutionState>
com.kuka.roboticsAPI.executionModel.ExecutionState
public enum ExecutionState
Execution container states.
| Enum Constant Summary | |
|---|---|
ApplicationExit
The application is exiting; execution services are being disposed. |
|
Cancelled
The container execution was stopped due to a user cancel request. |
|
Created
The first state. |
|
Executing
The container is currently executing. |
|
ExternalStop
The container execution was stopped due to an external signal. |
|
Finished
The container has finished it's execution. |
|
FinishedAwaitingRecoveryInfo
The container has finished it's execution, but is awaiting the recovery information. |
|
Invalid
There was an error during execution of the container. |
|
Queued
The container is at the controller and waits for it's execution. |
|
Recovering
The container is trying to recover from an error. |
|
| Method Summary | |
|---|---|
static ExecutionState |
fromId(int commandId)
Creates a navigation command state out of the given id. |
int |
getId()
Value getter for enum. |
boolean |
isError()
Determines if this state is an error state. |
boolean |
isFinished()
Determines if this state is finished. |
boolean |
isFinishedOrAwaitingRecovery()
Determines if this state is finished. |
static ExecutionState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ExecutionState[] |
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 ExecutionState Created
public static final ExecutionState Queued
public static final ExecutionState Executing
public static final ExecutionState Recovering
public static final ExecutionState FinishedAwaitingRecoveryInfo
public static final ExecutionState Finished
public static final ExecutionState Cancelled
public static final ExecutionState ExternalStop
public static final ExecutionState ApplicationExit
public static final ExecutionState Invalid
| Method Detail |
|---|
public static ExecutionState[] values()
for (ExecutionState c : ExecutionState.values()) System.out.println(c);
public static ExecutionState 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 nullpublic boolean isFinished()
public boolean isFinishedOrAwaitingRecovery()
public boolean isError()
public int getId()
public static ExecutionState fromId(int commandId)
commandId - The id of the command state within the navigation system.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||