Class ScriptExecutionListener
- java.lang.Object
-
- org.camunda.bpm.engine.impl.bpmn.listener.ScriptExecutionListener
-
- All Implemented Interfaces:
DelegateListener<DelegateExecution>
,ExecutionListener
public class ScriptExecutionListener extends java.lang.Object implements ExecutionListener
AnExecutionListener
which invokes aExecutableScript
when notified.- Author:
- Sebastian Menski
-
-
Field Summary
Fields Modifier and Type Field Description protected ExecutableScript
script
-
Fields inherited from interface org.camunda.bpm.engine.delegate.ExecutionListener
EVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKE
-
-
Constructor Summary
Constructors Constructor Description ScriptExecutionListener(ExecutableScript script)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutableScript
getScript()
void
notify(DelegateExecution execution)
-
-
-
Field Detail
-
script
protected final ExecutableScript script
-
-
Constructor Detail
-
ScriptExecutionListener
public ScriptExecutionListener(ExecutableScript script)
-
-
Method Detail
-
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
-
getScript
public ExecutableScript getScript()
-
-