Class ScriptExecutionListener
- java.lang.Object
-
- org.camunda.bpm.engine.impl.bpmn.listener.ScriptExecutionListener
-
- All Implemented Interfaces:
DelegateListener<DelegateExecution>,ExecutionListener
public class ScriptExecutionListener extends Object implements ExecutionListener
AnExecutionListenerwhich invokes aExecutableScriptwhen notified.- Author:
- Sebastian Menski
-
-
Field Summary
Fields Modifier and Type Field Description protected ExecutableScriptscript-
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 ExecutableScriptgetScript()voidnotify(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 Exception
- Specified by:
notifyin interfaceDelegateListener<DelegateExecution>- Specified by:
notifyin interfaceExecutionListener- Throws:
Exception
-
getScript
public ExecutableScript getScript()
-
-