Class ScriptTaskListener
- java.lang.Object
-
- org.camunda.bpm.engine.impl.task.listener.ScriptTaskListener
-
- All Implemented Interfaces:
TaskListener
public class ScriptTaskListener extends java.lang.Object implements TaskListener
ATaskListener
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.TaskListener
EVENTNAME_ASSIGNMENT, EVENTNAME_COMPLETE, EVENTNAME_CREATE, EVENTNAME_DELETE, EVENTNAME_TIMEOUT, EVENTNAME_UPDATE
-
-
Constructor Summary
Constructors Constructor Description ScriptTaskListener(ExecutableScript script)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutableScript
getScript()
void
notify(DelegateTask delegateTask)
-
-
-
Field Detail
-
script
protected final ExecutableScript script
-
-
Constructor Detail
-
ScriptTaskListener
public ScriptTaskListener(ExecutableScript script)
-
-
Method Detail
-
notify
public void notify(DelegateTask delegateTask)
- Specified by:
notify
in interfaceTaskListener
-
getScript
public ExecutableScript getScript()
-
-