com.ibm.rules.engine.runtime

Enum EngineState

  • java.lang.Object
    • java.lang.Enum<EngineState>
      • com.ibm.rules.engine.runtime.EngineState
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<EngineState>


    public enum EngineState
    extends java.lang.Enum<EngineState>
    The EngineState enumeration describes the current state of an Engine instance.
    See Also:
    Engine
    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      ONGOING
      Indicates that Engine execution is ongoing.
      STEPPED
      The engine is active but is not evaluating anything.
      STOPPED
      The engine is stopped.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static EngineState valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static EngineState[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • STOPPED

        public static final EngineState STOPPED
        The engine is stopped. This is the initial state.
      • ONGOING

        public static final EngineState ONGOING
        Indicates that Engine execution is ongoing.
      • STEPPED

        public static final EngineState STEPPED
        The engine is active but is not evaluating anything.
    • Method Detail

      • values

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

        public static EngineState valueOf(java.lang.String name)
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name

© Copyright IBM Corp. 1987, 2017