de.unihalle.informatik.Alida.operator.events
Enum ALDControlEvent.ALDControlEventType

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

public static enum ALDControlEvent.ALDControlEventType
extends java.lang.Enum<ALDControlEvent.ALDControlEventType>

Event types on which a controllable operator should react.


Enum Constant Summary
KILL_EVENT
          Stop all calculations immediately, data is probably lost.
PAUSE_EVENT
          Pause calculations.
RESUME_EVENT
          Continue calculations after previous pause event.
RUN_EVENT
          Start calculations.
STEP_EVENT
          Do the next step in step-wise operator execution.
STOP_EVENT
          Stop calculations as soon as possible without option for resume.
 
Method Summary
static ALDControlEvent.ALDControlEventType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ALDControlEvent.ALDControlEventType[] 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

RUN_EVENT

public static final ALDControlEvent.ALDControlEventType RUN_EVENT
Start calculations.


STOP_EVENT

public static final ALDControlEvent.ALDControlEventType STOP_EVENT
Stop calculations as soon as possible without option for resume.

Note that the operator should try to conserve result data.


STEP_EVENT

public static final ALDControlEvent.ALDControlEventType STEP_EVENT
Do the next step in step-wise operator execution.


PAUSE_EVENT

public static final ALDControlEvent.ALDControlEventType PAUSE_EVENT
Pause calculations.


RESUME_EVENT

public static final ALDControlEvent.ALDControlEventType RESUME_EVENT
Continue calculations after previous pause event.


KILL_EVENT

public static final ALDControlEvent.ALDControlEventType KILL_EVENT
Stop all calculations immediately, data is probably lost.

Method Detail

values

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

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

valueOf

public static ALDControlEvent.ALDControlEventType 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.