Class FlowNodeActivityBehavior
java.lang.Object
org.flowable.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
- All Implemented Interfaces:
Serializable
,ActivityBehavior
,TriggerableActivityBehavior
- Direct Known Subclasses:
AbstractBpmnActivityBehavior
,BoundaryEventActivityBehavior
,CancelEndEventActivityBehavior
,ErrorEndEventActivityBehavior
,EscalationEndEventActivityBehavior
,EventBasedGatewayActivityBehavior
,EventSubProcessConditionalStartEventActivityBehavior
,EventSubProcessErrorStartEventActivityBehavior
,EventSubProcessEscalationStartEventActivityBehavior
,GatewayActivityBehavior
,IntermediateThrowCompensationEventActivityBehavior
,IntermediateThrowNoneEventActivityBehavior
,MultiInstanceActivityBehavior
,NoneEndEventActivityBehavior
,NoneStartEventActivityBehavior
,TerminateEndEventActivityBehavior
public abstract class FlowNodeActivityBehavior
extends Object
implements TriggerableActivityBehavior
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
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(DelegateExecution execution) Default behaviour: just leave the activity with no extra functionality.void
leave
(DelegateExecution 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.void
leaveIgnoreConditions
(DelegateExecution execution) protected String
parseActivityType
(FlowNode flowNode) void
trigger
(DelegateExecution execution, String signalName, Object signalData)
-
Field Details
-
bpmnActivityBehavior
-
-
Constructor Details
-
FlowNodeActivityBehavior
public FlowNodeActivityBehavior()
-
-
Method Details
-
execute
Default behaviour: just leave the activity with no extra functionality.- Specified by:
execute
in interfaceActivityBehavior
-
leave
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
-
trigger
- Specified by:
trigger
in interfaceTriggerableActivityBehavior
-
parseActivityType
-