|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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
,
Serialized FormMethod Summary | |
---|---|
String |
getDefaultObjectFilter()
Returns the default ObjectFilter class name associated with this rule execution set. |
String |
getDescription()
Get a description of this rule execution set. |
String |
getName()
Get the name of this rule execution set. |
javax.rules.ObjectFilter |
getObjectFilter()
Get an instance of the default filter, or null. |
Object |
getProperty(Object key)
Get a user-defined or Drools-defined property. |
List |
getRules()
Return a list of all Rule s that are part of the
RuleExecutionSet . |
StatefulSession |
newStatefulSession(boolean keepReference)
Returns a new WorkingMemory object. |
StatelessSession |
newStatelessSession()
Returns a new WorkingMemory object. |
void |
setDefaultObjectFilter(String objectFilterClassname)
Set the default ObjectFilter class. |
void |
setProperty(Object key,
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 javax.rules.ObjectFilter getObjectFilter()
public StatefulSession newStatefulSession(boolean keepReference)
public StatelessSession newStatelessSession()
public String getName()
getName
in interface javax.rules.admin.RuleExecutionSet
public String getDescription()
getDescription
in interface javax.rules.admin.RuleExecutionSet
public Object getProperty(Object key)
getProperty
in interface javax.rules.admin.RuleExecutionSet
key
- the key to use to retrieve the property
public void setProperty(Object key, Object value)
setProperty
in interface javax.rules.admin.RuleExecutionSet
key
- the key for the property valuevalue
- the value to associate with the keypublic void setDefaultObjectFilter(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
.
setDefaultObjectFilter
in interface javax.rules.admin.RuleExecutionSet
objectFilterClassname
- the default ObjectFilter
classpublic String getDefaultObjectFilter()
getDefaultObjectFilter
in interface javax.rules.admin.RuleExecutionSet
public List getRules()
Rule
s that are part of the
RuleExecutionSet
.
getRules
in interface javax.rules.admin.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 |