Enum BenchResultState
- All Implemented Interfaces:
Serializable
,Comparable<BenchResultState>
Defines all the states a test result can have.
Once a state has been reached, it should never go back to a previous state.
- Author:
- jerome
-
Enum Constant Summary
Enum ConstantDescriptionThe schedule has been cancelled by the user.the batch has been created.The batch could not be executed because machines could not be provisioned.The schedule execution is finished.Tasks on the cluster are currently initializing the load generators.The batch has not been processed yet.Containers are being launched on the agentsThe load generators have joined the test and are up and running.Machines are being started for this scenario scheduleThe batch has been scheduled for execution on the cluster. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isError()
boolean
boolean
static BenchResultState
Returns the enum constant of this type with the specified name.static BenchResultState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CREATED
the batch has been created. It will be switched to pending once all containers have been created. -
PENDING
The batch has not been processed yet. It's pending to be scheduled on Rancher. -
SCHEDULED
The batch has been scheduled for execution on the cluster. -
SCALING
Machines are being started for this scenario schedule -
PREPARING
Containers are being launched on the agents -
INITIALIZING
Tasks on the cluster are currently initializing the load generators. -
RUNNING
The load generators have joined the test and are up and running. -
FINISHED
The schedule execution is finished. There is no feedback on successful or failed execution yet. -
ABORTED
The schedule has been cancelled by the user. -
ERROR
The batch could not be executed because machines could not be provisioned. Happens when using on-premise machines with not enough machines.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
isTerminalState
public boolean isTerminalState() -
isRunning
public boolean isRunning() -
isError
public boolean isError()
-