|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.brb.strategy.AcceptLastFilteringStrategy
Returns only the last rule which is given; if zero rules are given, throws a NoRulesFoundException.
Field Summary |
---|
Fields inherited from interface com.ibm.websphere.brb.FilteringStrategy |
---|
ACCEPT_ANY, ACCEPT_FIRST, ACCEPT_LAST, ACCEPT_ONE |
Constructor Summary | |
---|---|
AcceptLastFilteringStrategy()
|
Method Summary | |
---|---|
IRule[] |
filterRules(TriggerPoint tp,
IRule[] rules)
Returns only the last rule which is given; if zero rules are given, throws a NoRulesFoundException. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AcceptLastFilteringStrategy()
Method Detail |
public IRule[] filterRules(TriggerPoint tp, IRule[] rules) throws BusinessRuleBeansException
filterRules
in interface FilteringStrategy
tp
- the trigger point which is used to make this callrules
- a list of rules, possibly empty, which this method can modify and return; will not
be null
BusinessRuleBeansException
- if any exceptions occur
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |