Search in sources :

Example 1 with SignalEventCommand

use of org.drools.core.command.runtime.process.SignalEventCommand in project drools by kiegroup.

the class CommandBasedStatefulKnowledgeSession method signalEvent.

public void signalEvent(String type, Object event) {
    SignalEventCommand command = new SignalEventCommand(type, event);
    runner.execute(command);
}
Also used : SignalEventCommand(org.drools.core.command.runtime.process.SignalEventCommand)

Example 2 with SignalEventCommand

use of org.drools.core.command.runtime.process.SignalEventCommand in project drools by kiegroup.

the class CommandBasedStatefulKnowledgeSession method signalEvent.

public void signalEvent(String type, Object event, long processInstanceId) {
    SignalEventCommand command = new SignalEventCommand(processInstanceId, type, event);
    runner.execute(command);
}
Also used : SignalEventCommand(org.drools.core.command.runtime.process.SignalEventCommand)

Aggregations

SignalEventCommand (org.drools.core.command.runtime.process.SignalEventCommand)2