|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<StageDriver.State>
org.apache.commons.pipeline.StageDriver.State
public static enum StageDriver.State
This enumeration represents possible states of the a stage driver during processing.
| Enum Constant Summary | |
|---|---|
ERROR
A fatal error has occurred that has caused the driver to stop in an inconsistent state. |
|
FINISHED
Postprocessing tasks are complete; the stage is shutting down. |
|
RUNNING
Preprocessing is complete and objects are being processed. |
|
STARTED
The stage driver has started and the preprocess() method is being run. |
|
STOP_REQUESTED
A stop has been requested - the stage will finish processing, then postprocess and shut down. |
|
STOPPED
Resources have been released and all stage activity has stopped, or the stage has never been started. |
|
| Method Summary | |
|---|---|
static StageDriver.State |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static StageDriver.State[] |
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 |
|---|
public static final StageDriver.State STOPPED
public static final StageDriver.State STARTED
public static final StageDriver.State RUNNING
public static final StageDriver.State STOP_REQUESTED
public static final StageDriver.State FINISHED
public static final StageDriver.State ERROR
| Method Detail |
|---|
public static StageDriver.State[] values()
for (StageDriver.State c : StageDriver.State.values()) System.out.println(c);
public static StageDriver.State valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||