Class ScriptCaseExecutionListener
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmmn.listener.ScriptCaseExecutionListener
-
- All Implemented Interfaces:
CaseExecutionListener
,DelegateListener<DelegateCaseExecution>
public class ScriptCaseExecutionListener extends java.lang.Object implements CaseExecutionListener
AnCaseExecutionListener
which invokes aExecutableScript
when notified.- Author:
- Roman Smirnov, Sebastian Menski
-
-
Field Summary
Fields Modifier and Type Field Description protected ExecutableScript
script
-
Fields inherited from interface org.camunda.bpm.engine.delegate.CaseExecutionListener
CLOSE, COMPLETE, CREATE, DISABLE, ENABLE, EXIT, MANUAL_START, OCCUR, PARENT_RESUME, PARENT_SUSPEND, PARENT_TERMINATE, RE_ACTIVATE, RE_ENABLE, RESUME, START, SUSPEND, TERMINATE
-
-
Constructor Summary
Constructors Constructor Description ScriptCaseExecutionListener(ExecutableScript script)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutableScript
getScript()
void
notify(DelegateCaseExecution caseExecution)
-
-
-
Field Detail
-
script
protected final ExecutableScript script
-
-
Constructor Detail
-
ScriptCaseExecutionListener
public ScriptCaseExecutionListener(ExecutableScript script)
-
-
Method Detail
-
notify
public void notify(DelegateCaseExecution caseExecution) throws java.lang.Exception
- Specified by:
notify
in interfaceCaseExecutionListener
- Specified by:
notify
in interfaceDelegateListener<DelegateCaseExecution>
- Throws:
java.lang.Exception
-
getScript
public ExecutableScript getScript()
-
-