|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.brb.strategy.ReturnAllCombiningStrategy
Returns an array containing the results from all of the rules. The length of the array will be equal to the number of rules that were fired. The results are returned in the order in which the rules were fired. Note that an array of length one is returned if only one result is given. Note also that each element in the returned array can be any object type, including an array. In other words, one of the fired rules could have returned an array of results.
Field Summary |
---|
Fields inherited from interface com.ibm.websphere.brb.CombiningStrategy |
---|
RETURN_ALL, RETURN_AND, RETURN_FIRST, RETURN_LAST, RETURN_OR, THROW_VIOLATION |
Constructor Summary | |
---|---|
ReturnAllCombiningStrategy()
|
Method Summary | |
---|---|
java.lang.Object |
combineResults(TriggerPoint tp,
java.lang.Object[] results)
Returns an array containing the results from all of the rules, one array element per rule. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReturnAllCombiningStrategy()
Method Detail |
public java.lang.Object combineResults(TriggerPoint tp, java.lang.Object[] results)
combineResults
in interface CombiningStrategy
tp
- the trigger point which is used to make this callresults
- the list of results of firing the rules
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |