public final class ExecutionState extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR
The state, when the protocol encountered errors.
|
static int |
FINISHED
The state, when the operator has been kicked off and the execution
protocol is finished.
|
static int |
GUI_VISIBLE
The state, when GUI of the operator is visible, code 5.
|
static int |
IDLE
An idle state, code 0.
|
static int |
INITIALIZATION_FAILED
The state, if initialization fails, code -1.
|
static int |
INITIALIZED
The state right after initialization, code 1.
|
static int |
SOURCE_UPDATE_FAILED
The state, when the source update of the operator fails, code 6.
|
static int |
SOURCE_UPDATE_SUCCESSFUL
The state, when the user successfully updated the sources of the operator
and the validation has been passed, code 7.
|
static int |
SOURCES_UPDATING
The state, when the user updates the sources of the operator and the
validator is running again, code 6.
|
static int |
UNDEFINED
An undefined state, set to
Integer.MIN_VALUE. |
static int |
VALIDATING_PARAMETERS
The state, when the
IOperatorValidator has been initiated and the
validation result has not yet been received, code 3. |
static int |
VALIDATION_FAILED
The state, if the validation of parameters and sources failed, code -3.
|
static int |
VALIDATION_PASSED
The state, if the validation of parameters has been successfully
completed, code 4.
|
static int |
WORKPACKAGE_CONSTRUCTED
The state right after work package construction using the default
parameters and selected sources, code 2.
|
| Constructor and Description |
|---|
ExecutionState() |
| Modifier and Type | Method and Description |
|---|---|
static String |
stateToString(int state)
Maps a given
ExecutionState constant to its String
representation. |
public static final int UNDEFINED
Integer.MIN_VALUE.
This state is used, when no other state is applicable.
public static final int IDLE
The protocol is currently inactive.
public static final int INITIALIZED
All required classes are registered for an execution and new instances have been constructed.
public static final int INITIALIZATION_FAILED
Some or all of the required operator classes cannot be instantiated.
public static final int WORKPACKAGE_CONSTRUCTED
A work package for the requested operator is finished.
public static final int VALIDATING_PARAMETERS
IOperatorValidator has been initiated and the
validation result has not yet been received, code 3.
The call of validate in the IOperatorValidator placed.
public static final int VALIDATION_PASSED
The operator is permitted to be executed on the selected item(s).
public static final int VALIDATION_FAILED
The operator is not permitted to be executed on the selected item(s).
public static final int GUI_VISIBLE
The GUI has been constructed and the default values have been set to the custom GUI control elements.
public static final int SOURCES_UPDATING
The old sources have been replaced by the new ones and the validator
checks, if the sources are permitted.
The parameters remain unchanged.
public static final int SOURCE_UPDATE_SUCCESSFUL
The new sources are set to the GUI of the operator.
public static final int SOURCE_UPDATE_FAILED
The sources are reset to the last known working state.
public static final int ERROR
public static final int FINISHED
public static String stateToString(int state)
ExecutionState constant to its String
representation.state - one of the constant fields in ExecutionStateCopyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.