| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ExecutionFlag>
org.kuali.rice.krms.api.engine.ExecutionFlag
public enum ExecutionFlag
Defines various possible flags that can be used to control how the rules
 engine executes and performs it's evaluation of rules.  These flags are
 meant to be set to either true or false.  This is done using the
 ExecutionOptions that are passed to the engine at execution time.
ExecutionOptions| Enum Constant Summary | |
|---|---|
| CONTEXT_MUST_EXISTIndicates that the selection criteria which is passed to the engine at the time of execution must be able to select a valid context in order for engine execution to proceed. | |
| EVALUATE_ALL_PROPOSITIONSInstructs the engine to evaluate all propositions. | |
| LOG_EXECUTIONIndicates that the engine should perform default logging by recording each ResultEventin theEngineResults. | |
| Method Summary | |
|---|---|
|  boolean | getDefaultValue()Returns the default value for the flag if it has not been explicitly set. | 
| static ExecutionFlag | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static ExecutionFlag[] | 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 | 
|---|
public static final ExecutionFlag LOG_EXECUTION
ResultEvent in the EngineResults.  Default value
 is false.
EngineResultspublic static final ExecutionFlag CONTEXT_MUST_EXIST
SelectionCriteriapublic static final ExecutionFlag EVALUATE_ALL_PROPOSITIONS
| Method Detail | 
|---|
public static ExecutionFlag[] values()
for (ExecutionFlag c : ExecutionFlag.values()) System.out.println(c);
public static ExecutionFlag valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic boolean getDefaultValue()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||