Package org.jbpm.test.listener.process
Class NodeLeftCountDownProcessEventListener
- java.lang.Object
-
- org.kie.api.event.process.DefaultProcessEventListener
-
- org.jbpm.test.listener.process.DefaultCountDownProcessEventListener
-
- org.jbpm.test.listener.process.NodeCountDownProcessEventListener
-
- org.jbpm.test.listener.process.NodeLeftCountDownProcessEventListener
-
- All Implemented Interfaces:
EventListener
,org.kie.api.event.process.ProcessEventListener
public class NodeLeftCountDownProcessEventListener extends NodeCountDownProcessEventListener
-
-
Field Summary
-
Fields inherited from class org.jbpm.test.listener.process.NodeCountDownProcessEventListener
nodeName
-
Fields inherited from class org.jbpm.test.listener.process.DefaultCountDownProcessEventListener
latch, threads
-
-
Constructor Summary
Constructors Constructor Description NodeLeftCountDownProcessEventListener()
NodeLeftCountDownProcessEventListener(String nodeName, int threads)
NodeLeftCountDownProcessEventListener(String nodeName, int threads, boolean reactOnBeforeNodeLeft)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterNodeLeft(org.kie.api.event.process.ProcessNodeLeftEvent event)
void
beforeNodeLeft(org.kie.api.event.process.ProcessNodeLeftEvent event)
int
getCountAfter()
-
Methods inherited from class org.jbpm.test.listener.process.NodeCountDownProcessEventListener
reset
-
Methods inherited from class org.jbpm.test.listener.process.DefaultCountDownProcessEventListener
count, countDown, reset, reset, waitTillCompleted, waitTillCompleted
-
Methods inherited from class org.kie.api.event.process.DefaultProcessEventListener
afterNodeTriggered, afterProcessCompleted, afterProcessStarted, afterVariableChanged, beforeNodeTriggered, beforeProcessCompleted, beforeProcessStarted, beforeVariableChanged
-
-
-
-
Constructor Detail
-
NodeLeftCountDownProcessEventListener
public NodeLeftCountDownProcessEventListener()
-
NodeLeftCountDownProcessEventListener
public NodeLeftCountDownProcessEventListener(String nodeName, int threads)
-
NodeLeftCountDownProcessEventListener
public NodeLeftCountDownProcessEventListener(String nodeName, int threads, boolean reactOnBeforeNodeLeft)
-
-
Method Detail
-
afterNodeLeft
public void afterNodeLeft(org.kie.api.event.process.ProcessNodeLeftEvent event)
- Specified by:
afterNodeLeft
in interfaceorg.kie.api.event.process.ProcessEventListener
- Overrides:
afterNodeLeft
in classorg.kie.api.event.process.DefaultProcessEventListener
-
beforeNodeLeft
public void beforeNodeLeft(org.kie.api.event.process.ProcessNodeLeftEvent event)
- Specified by:
beforeNodeLeft
in interfaceorg.kie.api.event.process.ProcessEventListener
- Overrides:
beforeNodeLeft
in classorg.kie.api.event.process.DefaultProcessEventListener
-
getCountAfter
public int getCountAfter()
-
-