Package io.hyperfoil.api.session
Enum PhaseInstance.Status
- java.lang.Object
-
- java.lang.Enum<PhaseInstance.Status>
-
- io.hyperfoil.api.session.PhaseInstance.Status
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PhaseInstance.Status>
- Enclosing interface:
- PhaseInstance
public static enum PhaseInstance.Status extends java.lang.Enum<PhaseInstance.Status>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FINISHEDNOT_STARTEDRUNNINGSTATS_COMPLETETERMINATEDTERMINATING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisFinished()booleanisTerminated()static PhaseInstance.StatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PhaseInstance.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_STARTED
public static final PhaseInstance.Status NOT_STARTED
-
RUNNING
public static final PhaseInstance.Status RUNNING
-
FINISHED
public static final PhaseInstance.Status FINISHED
-
TERMINATING
public static final PhaseInstance.Status TERMINATING
-
TERMINATED
public static final PhaseInstance.Status TERMINATED
-
STATS_COMPLETE
public static final PhaseInstance.Status STATS_COMPLETE
-
-
Method Detail
-
values
public static PhaseInstance.Status[] 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 (PhaseInstance.Status c : PhaseInstance.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PhaseInstance.Status 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 namejava.lang.NullPointerException- if the argument is null
-
isFinished
public boolean isFinished()
-
isTerminated
public boolean isTerminated()
-
-