Enum Class EsbTriggerState

java.lang.Object
java.lang.Enum<EsbTriggerState>
com.kingsrook.qqq.esb.runtime.EsbTriggerState
All Implemented Interfaces:
Serializable, Comparable<EsbTriggerState>, Constable

public enum EsbTriggerState extends Enum<EsbTriggerState>
The state of one trigger's consumers on this node (EsbTriggerRunner.getState). - RUNNING: every consumer is connected and receiving. - PAUSED: paused (by startPaused or pauseLocal); consumers are closed. - CONNECTING: started and not paused, but at least one consumer has no connection yet (the broker is down, or being reconnected to). - STOPPED: the runtime is not running.
  • Enum Constant Details

  • Method Details

    • values

      public static EsbTriggerState[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EsbTriggerState valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null