public class RuleExecutionSetImpl implements RuleExecutionSet(Code)
The Drools implementation of the RuleExecutionSet interface
which defines a named set of executable Rule instances. A
RuleExecutionSet can be executed by a rules engine via the
RuleSession interface.
See Also: RuleExecutionSet author: N. Alex Rupp (n_alex codehaus.org) author: thomas diesler author: michael frandsen
Constructor Summary
RuleExecutionSetImpl(Package pkg, Map properties) Instances of this class should be obtained from the
LocalRuleExecutionSetProviderImpl.
Instances of this class should be obtained from the
LocalRuleExecutionSetProviderImpl. Each
RuleExecutionSetImpl corresponds with an
org.drools.Package object.
package The Package to associate with thisRuleExecutionSet. Parameters: properties - A Map of user-defined andDrools-defined properties. May be null. throws: RuleIntegrationException - if an error occurs integratinga Rule or Packageinto the RuleBase throws: RuleSetIntegrationException - if an error occurs integratinga Rule or Packageinto the RuleBase
Returns a new WorkingMemory object.
A new WorkingMemory object.
setDefaultObjectFilter
public void setDefaultObjectFilter(String objectFilterClassname)(Code)
Set the default ObjectFilter class. This class is
instantiated at runtime and used to filter result objects unless
another filter is specified using the available APIs in the runtime
view of a rule engine.
Setting the class name to null removes the default
ObjectFilter.
Parameters: objectFilterClassname - the default ObjectFilter class
Set a user-defined or Drools-defined property.
Parameters: key - the key for the property value Parameters: value - the value to associate with the key