Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Business Rules
11g Release 1 (11.1.1.6.2)

E10663-08


oracle.rules.rl.extensions.trace
Class RuleEngineState

java.lang.Object
  extended by oracle.rules.rl.extensions.trace.RuleEngineState


public class RuleEngineState
extends java.lang.Object

RuleEngineState represents the state of the rule engine after the affects of a trace from a decision trace. It is calculated from the all the trace entries processed through the trace this state is associated with. It is only as accurate as the trace is complete.


Method Summary
 java.util.List<ActivationTrace> getActivations()
          Get the list of activations on the agenda.
 FactTrace getFact(int factId)
          Get the fact trace for a fact identified its fact ID.
 java.util.List<FactTrace> getFacts()
          Get a list of all the fact traces for the state of working memory calculated from the trace.
 java.util.List<FactTrace> getFactsByType(java.lang.String factType)
          Get a list of traces for facts by fact type
 java.util.Set<java.lang.String> getFactTypes()
          Get a set of all the fact types for the state of working memory calculated from the trace.
 java.util.List<RuleTrace> getFiredRules()
          Get the list of rules that have fired.
 java.util.List<java.lang.String> getRulesetStack()
          Get the ruleset stack.
 java.util.List<FactTrace> getTreeViewFacts()
          Get a list of the root fact traces for the state of working memory calculated from the trace.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getFacts

public java.util.List<FactTrace> getFacts()
Get a list of all the fact traces for the state of working memory calculated from the trace.
Returns:
a list of fact traces.

getTreeViewFacts

public java.util.List<FactTrace> getTreeViewFacts()
Get a list of the root fact traces for the state of working memory calculated from the trace. The list only includes traces for facts that are not children of another fact.
Returns:
a list of fact traces.

getFactTypes

public java.util.Set<java.lang.String> getFactTypes()
Get a set of all the fact types for the state of working memory calculated from the trace. The internal initial fact is excluded.
Returns:
a set of fact types.

getFactsByType

public java.util.List<FactTrace> getFactsByType(java.lang.String factType)
Get a list of traces for facts by fact type
Parameters:
factType - the fact type name.
Returns:
a list of fact traces of type factType for facts in working memory calculated from the trace.

getFact

public FactTrace getFact(int factId)
Get the fact trace for a fact identified its fact ID.
Parameters:
factId - the fact ID of the desired fact.
Returns:
the fact trace.

getActivations

public java.util.List<ActivationTrace> getActivations()
Get the list of activations on the agenda.
Returns:
the list of activations on the agenda.

getFiredRules

public java.util.List<RuleTrace> getFiredRules()
Get the list of rules that have fired.
Returns:
the list of rules that have fired.

getRulesetStack

public java.util.List<java.lang.String> getRulesetStack()
Get the ruleset stack.
Returns:
the ruleset stack.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Business Rules
11g Release 1 (11.1.1.6.2)

E10663-08


Copyright © 2012, Oracle and/or its affiliates. All rights reserved.