Class ClassDelegateActivityBehavior
java.lang.Object
org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
org.camunda.bpm.engine.impl.bpmn.behavior.ClassDelegateActivityBehavior
- All Implemented Interfaces:
CoreActivityBehavior<ActivityExecution>
,ActivityBehavior
,SignallableActivityBehavior
Helper class for bpmn constructs that allow class delegation.
This class will lazily instantiate the referenced classes when needed at runtime.
- Author:
- Joram Barrez, Falko Menge, Roman Smirnov
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected List<FieldDeclaration>
protected static final BpmnBehaviorLogger
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
-
Constructor Summary
ConstructorDescriptionClassDelegateActivityBehavior
(Class<?> clazz, List<FieldDeclaration> fieldDeclarations) ClassDelegateActivityBehavior
(String className, List<FieldDeclaration> fieldDeclarations) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doSignal
(ActivityExecution execution, String signalName, Object signalData) void
execute
(ActivityExecution execution) Default behaviour: just leave the activity with no extra functionality.protected ActivityBehavior
getActivityBehaviorInstance
(ActivityExecution execution) void
signal
(ActivityExecution execution, String signalName, Object signalData) Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, signalCompensationDone
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leave, leaveIgnoreConditions
-
Field Details
-
LOG
-
className
-
fieldDeclarations
-
-
Constructor Details
-
ClassDelegateActivityBehavior
-
ClassDelegateActivityBehavior
-
-
Method Details
-
execute
Description copied from class:FlowNodeActivityBehavior
Default behaviour: just leave the activity with no extra functionality.- Specified by:
execute
in interfaceActivityBehavior
- Specified by:
execute
in interfaceCoreActivityBehavior<ActivityExecution>
- Overrides:
execute
in classFlowNodeActivityBehavior
- Throws:
Exception
-
signal
public void signal(ActivityExecution execution, String signalName, Object signalData) throws Exception - Specified by:
signal
in interfaceSignallableActivityBehavior
- Overrides:
signal
in classAbstractBpmnActivityBehavior
- Throws:
Exception
-
doSignal
protected void doSignal(ActivityExecution execution, String signalName, Object signalData) throws Exception - Throws:
Exception
-
getActivityBehaviorInstance
-