com.googlecode.sarasvati.event
Enum EventActionType

java.lang.Object
  extended by java.lang.Enum<EventActionType>
      extended by com.googlecode.sarasvati.event.EventActionType
All Implemented Interfaces:
Serializable, Comparable<EventActionType>

public enum EventActionType
extends Enum<EventActionType>

Enumerates the requested action types from execution event listeners.

Author:
Paul Lorenz

Enum Constant Summary
DELAY_NODE_EXECUTION
          Request that node execution be done by some external logic at a later point.
DELAY_PROCESS_FINALIZE_CANCEL
          Request that Engine.finalizeCancel(com.googlecode.sarasvati.GraphProcess) be done by some external logic at a later point.
DELAY_PROCESS_FINALIZE_COMPLETE
          Request that Engine.finalizeComplete(com.googlecode.sarasvati.GraphProcess) be done by some external logic at a later point.
 
Method Summary
static EventActionType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EventActionType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DELAY_NODE_EXECUTION

public static final EventActionType DELAY_NODE_EXECUTION
Request that node execution be done by some external logic at a later point. Only has any effect if returned from the ExecutionEventType.NODE_TOKEN_ACCEPTED event type.


DELAY_PROCESS_FINALIZE_COMPLETE

public static final EventActionType DELAY_PROCESS_FINALIZE_COMPLETE
Request that Engine.finalizeComplete(com.googlecode.sarasvati.GraphProcess) be done by some external logic at a later point. Only has any effect if returned from the ExecutionEventType.PROCESS_PENDING_COMPLETE event type.


DELAY_PROCESS_FINALIZE_CANCEL

public static final EventActionType DELAY_PROCESS_FINALIZE_CANCEL
Request that Engine.finalizeCancel(com.googlecode.sarasvati.GraphProcess) be done by some external logic at a later point. Only has any effect if returned from the ExecutionEventType.PROCESS_PENDING_CANCEL event type.

Method Detail

values

public static EventActionType[] 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 (EventActionType c : EventActionType.values())
    System.out.println(c);

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

valueOf

public static EventActionType 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