public class TrackingAgendaEventListener
extends org.kie.api.event.rule.DefaultAgendaEventListener
| Constructor and Description |
|---|
TrackingAgendaEventListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterMatchFired(org.kie.api.event.rule.AfterMatchFiredEvent event) |
void |
clear()
Clears all the information
|
Collection<String> |
getFiredRules() |
boolean |
isRuleFired(String rule)
Return true if the rule was fired at least once
|
int |
ruleFiredCount(String rule)
Returns number saying how many times the rule was fired
|
int |
rulesCount() |
public void afterMatchFired(org.kie.api.event.rule.AfterMatchFiredEvent event)
afterMatchFired in interface org.kie.api.event.rule.AgendaEventListenerafterMatchFired in class org.kie.api.event.rule.DefaultAgendaEventListenerpublic boolean isRuleFired(String rule)
rule - - name of the rulepublic int ruleFiredCount(String rule)
rule - - name ot the rulepublic int rulesCount()
public void clear()
public Collection<String> getFiredRules()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.