public class AbstractBpmnActivityBehavior extends FlowNodeActivityBehavior
Modifier and Type | Field and Description |
---|---|
protected MultiInstanceActivityBehavior |
multiInstanceActivityBehavior |
bpmnActivityBehavior
Constructor and Description |
---|
AbstractBpmnActivityBehavior() |
Modifier and Type | Method and Description |
---|---|
protected void |
createCompensateEventSubscription(ActivityExecution execution) |
MultiInstanceActivityBehavior |
getMultiInstanceActivityBehavior() |
protected boolean |
hasCompensationHandler(ActivityExecution execution) |
protected boolean |
hasLoopCharacteristics() |
protected boolean |
hasMultiInstanceCharacteristics() |
protected void |
leave(ActivityExecution execution)
Subclasses that call leave() will first pass through this method, before
the regular
FlowNodeActivityBehavior.leave(ActivityExecution) is
called. |
void |
setMultiInstanceActivityBehavior(MultiInstanceActivityBehavior multiInstanceActivityBehavior) |
void |
signal(ActivityExecution execution,
String signalName,
Object signalData) |
protected void |
signalCompensationDone(ActivityExecution execution,
Object signalData) |
execute, leaveIgnoreConditions
protected MultiInstanceActivityBehavior multiInstanceActivityBehavior
protected void leave(ActivityExecution execution)
FlowNodeActivityBehavior.leave(ActivityExecution)
is
called. This way, we can check if the activity has loop characteristics,
and delegate to the behavior if this is the case.leave
in class FlowNodeActivityBehavior
protected boolean hasCompensationHandler(ActivityExecution execution)
protected void createCompensateEventSubscription(ActivityExecution execution)
protected boolean hasLoopCharacteristics()
protected boolean hasMultiInstanceCharacteristics()
public MultiInstanceActivityBehavior getMultiInstanceActivityBehavior()
public void setMultiInstanceActivityBehavior(MultiInstanceActivityBehavior multiInstanceActivityBehavior)
public void signal(ActivityExecution execution, String signalName, Object signalData) throws Exception
signal
in interface SignallableActivityBehavior
signal
in class FlowNodeActivityBehavior
Exception
protected void signalCompensationDone(ActivityExecution execution, Object signalData)
Copyright © 2015. All rights reserved.