de.unihalle.informatik.Alida.workflows.events
Enum ALDWorkflowEvent.ALDWorkflowEventType

java.lang.Object
  extended by java.lang.Enum<ALDWorkflowEvent.ALDWorkflowEventType>
      extended by de.unihalle.informatik.Alida.workflows.events.ALDWorkflowEvent.ALDWorkflowEventType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ALDWorkflowEvent.ALDWorkflowEventType>
Enclosing class:
ALDWorkflowEvent

public static enum ALDWorkflowEvent.ALDWorkflowEventType
extends java.lang.Enum<ALDWorkflowEvent.ALDWorkflowEventType>

Types of events.


Enum Constant Summary
ADD_EDGE
          Edge added to work flow, event.info gives id of this edge
ADD_NODE
          Node added to work flow, event.info gives id of this node
COPY_NODE
          A copy of a node was added to the work flow, event.info gives id of the new copied node
DELETE_EDGE
          Edge deleted from work flow, event.info gives id of this edge
DELETE_NODE
          Node deleted from work flow, event.info gives id of this node
EXECUTION_FINISHED
          The execution of an runWorkflow or runOp finished.
NODE_PARAMETER_CHANGE
          The parameter of one node has changed.
NODE_STATE_CHANGE
          The state of one or more nodes has changed.
REDIRECT_EDGE_SOURCE
          source of an edge redirect in work flow, event.info gives id of this edge
REDIRECT_EDGE_TARGET
          target of an edge redirect in work flow, event.info gives id of this edge
RENAME
          The workflow has been renamed, event.info gives new name
RUN_FAILURE
          Running an operator failed, event.info gives a ALDRunFailureInfo object
SAVE_WORKFLOW
          Save the work flow.
SHOW_RESULTS
          Show the results of this node, event.info gives id of this node
USER_INTERRUPT
          User request to interrupt the current execution of (part of) the work flow
 
Method Summary
static ALDWorkflowEvent.ALDWorkflowEventType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ALDWorkflowEvent.ALDWorkflowEventType[] 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

ADD_NODE

public static final ALDWorkflowEvent.ALDWorkflowEventType ADD_NODE
Node added to work flow, event.info gives id of this node


COPY_NODE

public static final ALDWorkflowEvent.ALDWorkflowEventType COPY_NODE
A copy of a node was added to the work flow, event.info gives id of the new copied node


ADD_EDGE

public static final ALDWorkflowEvent.ALDWorkflowEventType ADD_EDGE
Edge added to work flow, event.info gives id of this edge


DELETE_NODE

public static final ALDWorkflowEvent.ALDWorkflowEventType DELETE_NODE
Node deleted from work flow, event.info gives id of this node


DELETE_EDGE

public static final ALDWorkflowEvent.ALDWorkflowEventType DELETE_EDGE
Edge deleted from work flow, event.info gives id of this edge


REDIRECT_EDGE_SOURCE

public static final ALDWorkflowEvent.ALDWorkflowEventType REDIRECT_EDGE_SOURCE
source of an edge redirect in work flow, event.info gives id of this edge


REDIRECT_EDGE_TARGET

public static final ALDWorkflowEvent.ALDWorkflowEventType REDIRECT_EDGE_TARGET
target of an edge redirect in work flow, event.info gives id of this edge


NODE_STATE_CHANGE

public static final ALDWorkflowEvent.ALDWorkflowEventType NODE_STATE_CHANGE
The state of one or more nodes has changed. The event.info is a Collection of ALDWorkflowNodeId


NODE_PARAMETER_CHANGE

public static final ALDWorkflowEvent.ALDWorkflowEventType NODE_PARAMETER_CHANGE
The parameter of one node has changed. The event.info is Collection of ALDWorkflowNodeId


SAVE_WORKFLOW

public static final ALDWorkflowEvent.ALDWorkflowEventType SAVE_WORKFLOW
Save the work flow. The event.info is of type ALDWorkflowStorageInfo


SHOW_RESULTS

public static final ALDWorkflowEvent.ALDWorkflowEventType SHOW_RESULTS
Show the results of this node, event.info gives id of this node


RENAME

public static final ALDWorkflowEvent.ALDWorkflowEventType RENAME
The workflow has been renamed, event.info gives new name


RUN_FAILURE

public static final ALDWorkflowEvent.ALDWorkflowEventType RUN_FAILURE
Running an operator failed, event.info gives a ALDRunFailureInfo object


USER_INTERRUPT

public static final ALDWorkflowEvent.ALDWorkflowEventType USER_INTERRUPT
User request to interrupt the current execution of (part of) the work flow


EXECUTION_FINISHED

public static final ALDWorkflowEvent.ALDWorkflowEventType EXECUTION_FINISHED
The execution of an runWorkflow or runOp finished.

Method Detail

values

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

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

valueOf

public static ALDWorkflowEvent.ALDWorkflowEventType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2010-2014 Martin Luther University Halle-Wittenberg. All Rights Reserved.