[Enterprise Extensions only]

Combining strategy

The job of the CombiningStrategy is to take the results of the rules which were fired by the FiringStrategy and to combine them to form a reasonable result to the TriggerPoint caller. BRBeans provides several combining strategies to be used in applications:

Instances of these combining strategies are stored in static constants defined in the CombiningStrategy interface. You can use these for setting the strategies on a TriggerPoint. For example, the following method call sets the combining strategy on TriggerPoint tp to be the Return First strategy:

tp.setCombiningStrategy(CombiningStrategy.RETURN_FIRST, TriggerPoint.ALL_RULES);