use of org.drools.core.event.knowlegebase.impl.AfterRuleAddedEventImpl in project drools by kiegroup.
the class KieBaseEventSupport method fireAfterRuleAdded.
public void fireAfterRuleAdded(final RuleImpl rule) {
if (hasListeners()) {
AfterRuleAddedEvent event = new AfterRuleAddedEventImpl(this.kBase, rule);
notifyAllListeners(event, (l, e) -> l.afterRuleAdded(e));
}
}
Aggregations