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 JavaDelegatejavaDelegate-
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 protectedServiceTaskJavaDelegateActivityBehavior()ServiceTaskJavaDelegateActivityBehavior(JavaDelegate javaDelegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(DelegateExecution execution)voidnotify(DelegateExecution execution)voidperformExecution(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 Exception
Description copied from class:TaskActivityBehaviorThe method which should be overridden by the sub classes to perform an execution.- Overrides:
performExecutionin classTaskActivityBehavior- Parameters:
execution- the execution which is used during performing the execution- Throws:
Exception
-
notify
public void notify(DelegateExecution execution) throws Exception
- Specified by:
notifyin interfaceDelegateListener<DelegateExecution>- Specified by:
notifyin interfaceExecutionListener- Throws:
Exception
-
execute
public void execute(DelegateExecution execution) throws Exception
- Throws:
Exception
-
-