Search in sources :

Example 1 with BeforeEvaluateContextEntryEvent

use of org.kie.dmn.api.core.event.BeforeEvaluateContextEntryEvent in project drools by kiegroup.

the class DMNRuntimeEventManagerUtils method fireBeforeEvaluateContextEntry.

public static void fireBeforeEvaluateContextEntry(DMNRuntimeEventManager eventManager, String nodeName, String variableName, String variableId, String expressionId, DMNResult result) {
    if (eventManager.hasListeners()) {
        BeforeEvaluateContextEntryEvent event = new BeforeEvaluateContextEntryEventImpl(nodeName, variableName, variableId, expressionId, result);
        notifyListeners(eventManager, l -> l.beforeEvaluateContextEntry(event));
    }
}
Also used : BeforeEvaluateContextEntryEvent(org.kie.dmn.api.core.event.BeforeEvaluateContextEntryEvent)

Aggregations

BeforeEvaluateContextEntryEvent (org.kie.dmn.api.core.event.BeforeEvaluateContextEntryEvent)1