public class StepContextWorkflowExecutionListener<NODE,STEP> extends java.lang.Object implements StepNodeContextListener<NODE,STEP>, StepNodeContext<NODE,STEP>
Modifier and Type | Class and Description |
---|---|
class |
StepContextWorkflowExecutionListener.ctxPair |
Constructor and Description |
---|
StepContextWorkflowExecutionListener() |
Modifier and Type | Method and Description |
---|---|
void |
beginContext()
Indicates context begins
|
void |
beginNodeContext(NODE node)
Enter a node context
|
void |
beginStepContext(STEP step)
Enter a step context
|
void |
finishContext()
Indicates context has finished
|
void |
finishNodeContext()
Finish a node context
|
void |
finishStepContext()
finish a step context
|
java.util.List<STEP> |
getCurrentContext() |
java.util.List<Pair<STEP,NODE>> |
getCurrentContextPairs() |
NODE |
getCurrentNode() |
STEP |
getCurrentStep() |
public StepContextWorkflowExecutionListener()
public void beginContext()
StepNodeContextListener
beginContext
in interface StepNodeContextListener<NODE,STEP>
public void finishContext()
StepNodeContextListener
finishContext
in interface StepNodeContextListener<NODE,STEP>
public void beginStepContext(STEP step)
StepNodeContextListener
beginStepContext
in interface StepNodeContextListener<NODE,STEP>
step
- steppublic void finishStepContext()
StepNodeContextListener
finishStepContext
in interface StepNodeContextListener<NODE,STEP>
public void beginNodeContext(NODE node)
StepNodeContextListener
beginNodeContext
in interface StepNodeContextListener<NODE,STEP>
node
- nodepublic void finishNodeContext()
StepNodeContextListener
finishNodeContext
in interface StepNodeContextListener<NODE,STEP>
public STEP getCurrentStep()
public NODE getCurrentNode()
getCurrentNode
in interface StepNodeContext<NODE,STEP>
public java.util.List<STEP> getCurrentContext()
getCurrentContext
in interface StepNodeContext<NODE,STEP>