org.camunda.bpm.engine.impl.bpmn.behavior
Class FlowNodeActivityBehavior
java.lang.Object
org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
- All Implemented Interfaces:
- CoreActivityBehavior<ActivityExecution>, ActivityBehavior, SignallableActivityBehavior
- Direct Known Subclasses:
- AbstractBpmnActivityBehavior, BoundaryEventActivityBehavior, CompensationEventActivityBehavior, EventBasedGatewayActivityBehavior, GatewayActivityBehavior, IntermediateThrowNoneEventActivityBehavior, NoneEndEventActivityBehavior, NoneStartEventActivityBehavior, SignalEndEventActivityBehavior, TerminateEndEventActivityBehavior
public abstract class FlowNodeActivityBehavior
- extends Object
- implements SignallableActivityBehavior
Superclass for all 'connectable' BPMN 2.0 process elements: tasks, gateways and events.
This means that any subclass can be the source or target of a sequenceflow.
Corresponds with the notion of the 'flownode' in BPMN 2.0.
- Author:
- Joram Barrez
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected static final BpmnBehaviorLogger LOG
bpmnActivityBehavior
protected BpmnActivityBehavior bpmnActivityBehavior
FlowNodeActivityBehavior
public FlowNodeActivityBehavior()
execute
public void execute(ActivityExecution execution)
throws Exception
- Default behaviour: just leave the activity with no extra functionality.
- Specified by:
execute in interface CoreActivityBehavior<ActivityExecution>- Specified by:
execute in interface ActivityBehavior
- Throws:
Exception
leave
protected void leave(ActivityExecution execution)
- Default way of leaving a BPMN 2.0 activity: evaluate the conditions on the
outgoing sequence flow and take those that evaluate to true.
leaveIgnoreConditions
protected void leaveIgnoreConditions(ActivityExecution activityContext)
signal
public void signal(ActivityExecution execution,
String signalName,
Object signalData)
throws Exception
- Specified by:
signal in interface SignallableActivityBehavior
- Throws:
Exception
Copyright © 2015 camunda services GmbH. All rights reserved.