Package org.kie.api.event.process
Interface ProcessEventManager
-
- All Known Subinterfaces:
KieRuntime
,KieRuntimeEventManager
,KieSession
,StatelessKieSession
public interface ProcessEventManager
A manager for process related events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addEventListener(ProcessEventListener listener)
Add a process event listener.Collection<ProcessEventListener>
getProcessEventListeners()
Returns all event listeners.void
removeEventListener(ProcessEventListener listener)
Remove a process event listener.
-
-
-
Method Detail
-
addEventListener
void addEventListener(ProcessEventListener listener)
Add a process event listener.- Parameters:
listener
- the listener to add.
-
removeEventListener
void removeEventListener(ProcessEventListener listener)
Remove a process event listener.- Parameters:
listener
- the listener to remove
-
getProcessEventListeners
Collection<ProcessEventListener> getProcessEventListeners()
Returns all event listeners.- Returns:
- listeners the listeners
-
-