public enum ExecutionFlag extends Enum<ExecutionFlag>
ExecutionOptions
that are passed to the engine at execution time.ExecutionOptions
Enum Constant and Description |
---|
CONTEXT_MUST_EXIST
Indicates 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_PROPOSITIONS
Instructs the engine to evaluate all propositions.
|
LOG_EXECUTION
Indicates that the engine should perform default logging by recording
each
ResultEvent in the EngineResults . |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final ExecutionFlag LOG_EXECUTION
ResultEvent
in the EngineResults
. Default value
is false.EngineResults
public static final ExecutionFlag CONTEXT_MUST_EXIST
SelectionCriteria
public static final ExecutionFlag EVALUATE_ALL_PROPOSITIONS
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 nameNullPointerException
- if the argument is nullpublic boolean getDefaultValue()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.