Class ServiceTaskJavaDelegateActivityBehavior
- 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.TaskActivityBehavior
-
- org.camunda.bpm.engine.impl.bpmn.behavior.ServiceTaskJavaDelegateActivityBehavior
-
- All Implemented Interfaces:
DelegateListener<DelegateExecution>
,ExecutionListener
,CoreActivityBehavior<ActivityExecution>
,ActivityBehavior
,SignallableActivityBehavior
public class ServiceTaskJavaDelegateActivityBehavior extends TaskActivityBehavior implements ActivityBehavior, ExecutionListener
- Author:
- Tom Baeyens
-
-
Field Summary
Fields Modifier and Type Field Description protected JavaDelegate
javaDelegate
-
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.TaskActivityBehavior
activityInstanceId
-
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
LOG
-
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
-
Fields inherited from interface org.camunda.bpm.engine.delegate.ExecutionListener
EVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ServiceTaskJavaDelegateActivityBehavior()
ServiceTaskJavaDelegateActivityBehavior(JavaDelegate javaDelegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(DelegateExecution execution)
void
notify(DelegateExecution execution)
void
performExecution(ActivityExecution execution)
The method which should be overridden by the sub classes to perform an execution.-
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.TaskActivityBehavior
execute, postExecution, preExecution
-
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, signal, signalCompensationDone
-
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leave, leaveIgnoreConditions
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.pvm.delegate.ActivityBehavior
execute
-
-
-
-
Field Detail
-
javaDelegate
protected JavaDelegate javaDelegate
-
-
Constructor Detail
-
ServiceTaskJavaDelegateActivityBehavior
protected ServiceTaskJavaDelegateActivityBehavior()
-
ServiceTaskJavaDelegateActivityBehavior
public ServiceTaskJavaDelegateActivityBehavior(JavaDelegate javaDelegate)
-
-
Method Detail
-
performExecution
public void performExecution(ActivityExecution execution) throws java.lang.Exception
Description copied from class:TaskActivityBehavior
The method which should be overridden by the sub classes to perform an execution.- Overrides:
performExecution
in classTaskActivityBehavior
- Parameters:
execution
- the execution which is used during performing the execution- Throws:
java.lang.Exception
-
notify
public void notify(DelegateExecution execution) throws java.lang.Exception
- Specified by:
notify
in interfaceDelegateListener<DelegateExecution>
- Specified by:
notify
in interfaceExecutionListener
- Throws:
java.lang.Exception
-
execute
public void execute(DelegateExecution execution) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-