public enum StageState extends Enum<StageState>
Enum Constant and Description |
---|
CREATED
First state of a stage
|
INITIALIZED
Second state of a stage
|
STARTED
Fourth state of a stage
|
TERMINATED
Sixth state of a stage.
|
TERMINATING
Fifth state of a stage.
|
VALIDATED
Third state of a stage
|
Modifier and Type | Method and Description |
---|---|
boolean |
isAfter(StageState stageState) |
boolean |
isBefore(StageState stageState) |
static StageState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StageState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StageState CREATED
public static final StageState INITIALIZED
public static final StageState VALIDATED
public static final StageState STARTED
public static final StageState TERMINATING
InputPort.receive()
or by AbstractStage.terminateStage()
.public static final StageState TERMINATED
AbstractStage.onTerminating()
.public static StageState[] values()
for (StageState c : StageState.values()) System.out.println(c);
public static StageState 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 nullpublic boolean isBefore(StageState stageState)
public boolean isAfter(StageState stageState)
Copyright © 2015–2020. All rights reserved.