|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.jsr94.rules.admin.RuleExecutionSetImpl
public class RuleExecutionSetImpl
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.
RuleExecutionSet
Method Summary | |
---|---|
java.lang.String |
getDefaultObjectFilter()
Returns the default ObjectFilter class name associated with this rule execution set. |
java.lang.String |
getDescription()
Get a description of this rule execution set. |
java.lang.String |
getName()
Get the name of this rule execution set. |
ObjectFilter |
getObjectFilter()
Get an instance of the default filter, or null. |
java.lang.Object |
getProperty(java.lang.Object key)
Get a user-defined or Drools-defined property. |
java.util.List |
getRules()
Return a list of all Rule s that are part of the
RuleExecutionSet . |
WorkingMemory |
newWorkingMemory()
Returns a new WorkingMemory object. |
void |
setDefaultObjectFilter(java.lang.String objectFilterClassname)
Set the default ObjectFilter class. |
void |
setProperty(java.lang.Object key,
java.lang.Object value)
Set a user-defined or Drools-defined property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public ObjectFilter getObjectFilter()
public WorkingMemory newWorkingMemory()
public java.lang.String getName()
public java.lang.String getDescription()
public java.lang.Object getProperty(java.lang.Object key)
key
- the key to use to retrieve the property
public void setProperty(java.lang.Object key, java.lang.Object value)
key
- the key for the property valuevalue
- the value to associate with the keypublic void setDefaultObjectFilter(java.lang.String objectFilterClassname)
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
.
objectFilterClassname
- the default ObjectFilter
classpublic java.lang.String getDefaultObjectFilter()
public java.util.List getRules()
Rule
s that are part of the
RuleExecutionSet
.
Rule
s that are part of the
RuleExecutionSet
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |