[rules-users] Drools Execution, get number of retracted

Ganchix ganchix at gmail.com
Mon Sep 15 06:59:33 EDT 2014


I'm trying to return the numbers of retracts that a drools session execution
have.

I can obtain the number of executions:

...
final Command fireAllRulesCmd =
CommandFactory.newFireAllRules("executed-rules");
cmds.add(fireAllRulesCmd);
...
session.execute(CommandFactory.newBatchExecution(cmds));
final Integer executedRules = (Integer) execute.getValue("executed-rules");
....

Are there a similar way to obtain all "retracted-rules"?

Thanks!!

Regards




--
View this message in context: http://drools.46999.n3.nabble.com/Drools-Execution-get-number-of-retracted-tp4030775.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list