Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Real-Time Decisions
11g Release 1 (11.1.1)

E17787-02


com.sigmadynamics.sdo.rules
Enum EvaluationOptions.EvaluationPolicy

java.lang.Object
  extended by java.lang.Enum<EvaluationOptions.EvaluationPolicy>
      extended by com.sigmadynamics.sdo.rules.EvaluationOptions.EvaluationPolicy

All Implemented Interfaces:
java.lang.Comparable<EvaluationOptions.EvaluationPolicy>
Enclosing class:
EvaluationOptions

public static enum EvaluationOptions.EvaluationPolicy
extends java.lang.Enum<EvaluationOptions.EvaluationPolicy>

Different modes of rule evaluation.


Enum Constant Summary
BLOCKING
          wait for external rule to compile before returning a value
NON_BLOCKING_RETURN_DEFAULT_DOUBLE_VALUE
          do not wait for external rule to compile, return default value (scoring rule)
NON_BLOCKING_RETURN_FALSE
          do not wait for external rule to compile, return default false
NON_BLOCKING_RETURN_TRUE
          do not wait for external rule to compile, return default true

 

Method Summary
static EvaluationOptions.EvaluationPolicy valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EvaluationOptions.EvaluationPolicy[] 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

NON_BLOCKING_RETURN_TRUE

public static final EvaluationOptions.EvaluationPolicy NON_BLOCKING_RETURN_TRUE
do not wait for external rule to compile, return default true

NON_BLOCKING_RETURN_FALSE

public static final EvaluationOptions.EvaluationPolicy NON_BLOCKING_RETURN_FALSE
do not wait for external rule to compile, return default false

NON_BLOCKING_RETURN_DEFAULT_DOUBLE_VALUE

public static final EvaluationOptions.EvaluationPolicy NON_BLOCKING_RETURN_DEFAULT_DOUBLE_VALUE
do not wait for external rule to compile, return default value (scoring rule)

BLOCKING

public static final EvaluationOptions.EvaluationPolicy BLOCKING
wait for external rule to compile before returning a value

Method Detail

values

public static EvaluationOptions.EvaluationPolicy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (EvaluationOptions.EvaluationPolicy c : EvaluationOptions.EvaluationPolicy.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

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

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Real-Time Decisions
11g Release 1 (11.1.1)

E17787-02


Copyright © 2010, 2011, Oracle. All rights reserved.