Rule Execution Server API

com.ibm.rules.engine.runtime
Enum EngineState

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

public enum EngineState
extends Enum<EngineState>

The EngineState enumeration describes the current state of an Engine instance.

See Also:
Engine

Enum Constant Summary
ONGOING
          Indicates that Engine execution is ongoing.
STEPPED
          The engine is active but is not evaluating anything.
STOPPED
          The engine is stopped.
 
Method Summary
static EngineState valueOf(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(String name)
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
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

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013