Enum BenchResult.State
- java.lang.Object
-
- java.lang.Enum<BenchResult.State>
-
- us.abstracta.jmeter.javadsl.octoperf.api.BenchResult.State
-
- All Implemented Interfaces:
Serializable,Comparable<BenchResult.State>
- Enclosing class:
- BenchResult
public static enum BenchResult.State extends Enum<BenchResult.State>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisFinalState()static BenchResult.StatevalueOf(String name)Returns the enum constant of this type with the specified name.static BenchResult.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATED
public static final BenchResult.State CREATED
-
PENDING
public static final BenchResult.State PENDING
-
SCALING
public static final BenchResult.State SCALING
-
PREPARING
public static final BenchResult.State PREPARING
-
INITIALIZING
public static final BenchResult.State INITIALIZING
-
RUNNING
public static final BenchResult.State RUNNING
-
FINISHED
public static final BenchResult.State FINISHED
-
ABORTED
public static final BenchResult.State ABORTED
-
ERROR
public static final BenchResult.State ERROR
-
-
Method Detail
-
values
public static BenchResult.State[] 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 (BenchResult.State c : BenchResult.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BenchResult.State valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
isFinalState
public boolean isFinalState()
-
-