Enum BenchResultState

java.lang.Object
java.lang.Enum<BenchResultState>
org.jenkinsci.plugins.octoperf.result.BenchResultState
All Implemented Interfaces:
Serializable, Comparable<BenchResultState>

public enum BenchResultState extends Enum<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 Details

    • CREATED

      public static final BenchResultState CREATED
      the batch has been created. It will be switched to pending once all containers have been created.
    • PENDING

      public static final BenchResultState PENDING
      The batch has not been processed yet. It's pending to be scheduled on Rancher.
    • SCHEDULED

      public static final BenchResultState SCHEDULED
      The batch has been scheduled for execution on the cluster.
    • SCALING

      public static final BenchResultState SCALING
      Machines are being started for this scenario schedule
    • PREPARING

      public static final BenchResultState PREPARING
      Containers are being launched on the agents
    • INITIALIZING

      public static final BenchResultState INITIALIZING
      Tasks on the cluster are currently initializing the load generators.
    • RUNNING

      public static final BenchResultState RUNNING
      The load generators have joined the test and are up and running.
    • FINISHED

      public static final BenchResultState FINISHED
      The schedule execution is finished. There is no feedback on successful or failed execution yet.
    • ABORTED

      public static final BenchResultState ABORTED
      The schedule has been cancelled by the user.
    • ERROR

      public static final BenchResultState 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

      public static BenchResultState[] 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

      public static BenchResultState 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 name
      NullPointerException - if the argument is null
    • isTerminalState

      public boolean isTerminalState()
    • isRunning

      public boolean isRunning()
    • isError

      public boolean isError()