de.unihalle.informatik.Alida.operator
Enum ALDOperatorControllable.OperatorControlStatus

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

public static enum ALDOperatorControllable.OperatorControlStatus
extends java.lang.Enum<ALDOperatorControllable.OperatorControlStatus>

Control command and/or operator status, respectively.


Enum Constant Summary
OP_INIT
          Default state after instantiation.
OP_KILL
          Stop immediately, even in case of data loss.
OP_PAUSE
          Pause the operator.
OP_RESUME
          Resume operator after pause.
OP_RUN
          Run the operator.
OP_STEP
          Do one step.
OP_STOP
          Stop the operator as soon as possible, save data if possible.
 
Method Summary
static ALDOperatorControllable.OperatorControlStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ALDOperatorControllable.OperatorControlStatus[] 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

OP_INIT

public static final ALDOperatorControllable.OperatorControlStatus OP_INIT
Default state after instantiation.


OP_RUN

public static final ALDOperatorControllable.OperatorControlStatus OP_RUN
Run the operator.


OP_STOP

public static final ALDOperatorControllable.OperatorControlStatus OP_STOP
Stop the operator as soon as possible, save data if possible.


OP_PAUSE

public static final ALDOperatorControllable.OperatorControlStatus OP_PAUSE
Pause the operator.


OP_RESUME

public static final ALDOperatorControllable.OperatorControlStatus OP_RESUME
Resume operator after pause.


OP_STEP

public static final ALDOperatorControllable.OperatorControlStatus OP_STEP
Do one step.


OP_KILL

public static final ALDOperatorControllable.OperatorControlStatus OP_KILL
Stop immediately, even in case of data loss.

Method Detail

values

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

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

valueOf

public static ALDOperatorControllable.OperatorControlStatus 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.