gr.uoa.di.madgik.execution.engine
Enum ExecutionHandle.HandleState

java.lang.Object
  extended by java.lang.Enum<ExecutionHandle.HandleState>
      extended by gr.uoa.di.madgik.execution.engine.ExecutionHandle.HandleState
All Implemented Interfaces:
Serializable, Comparable<ExecutionHandle.HandleState>
Enclosing class:
ExecutionHandle

public static enum ExecutionHandle.HandleState
extends Enum<ExecutionHandle.HandleState>

The state of the plan

Author:
gpapanikos

Enum Constant Summary
Cancel
          Canceled state.
Completed
          Completed state.
Paused
          Paused state.
Ready
          Ready state.
Running
          Running state.
 
Method Summary
static ExecutionHandle.HandleState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ExecutionHandle.HandleState[] 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

Ready

public static final ExecutionHandle.HandleState Ready
Ready state.


Running

public static final ExecutionHandle.HandleState Running
Running state.


Paused

public static final ExecutionHandle.HandleState Paused
Paused state.


Completed

public static final ExecutionHandle.HandleState Completed
Completed state.


Cancel

public static final ExecutionHandle.HandleState Cancel
Canceled state.

Method Detail

values

public static ExecutionHandle.HandleState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ExecutionHandle.HandleState c : ExecutionHandle.HandleState.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ExecutionHandle.HandleState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2013. All Rights Reserved.