public static enum ALDOperatorControllable.OperatorControlStatus extends Enum<ALDOperatorControllable.OperatorControlStatus>
The status is supposed to be switched externally and the operator is expected to react on changes as soon as possible.
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
static ALDOperatorControllable.OperatorControlStatus |
valueOf(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.
|
public static final ALDOperatorControllable.OperatorControlStatus OP_INIT
public static final ALDOperatorControllable.OperatorControlStatus OP_RUN
public static final ALDOperatorControllable.OperatorControlStatus OP_STOP
public static final ALDOperatorControllable.OperatorControlStatus OP_PAUSE
public static final ALDOperatorControllable.OperatorControlStatus OP_RESUME
public static final ALDOperatorControllable.OperatorControlStatus OP_STEP
public static final ALDOperatorControllable.OperatorControlStatus OP_KILL
public static ALDOperatorControllable.OperatorControlStatus[] values()
for (ALDOperatorControllable.OperatorControlStatus c : ALDOperatorControllable.OperatorControlStatus.values()) System.out.println(c);
public static ALDOperatorControllable.OperatorControlStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2010–2021 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.