org.camunda.bpm.engine.impl.cmmn.listener
Class ScriptCaseExecutionListener

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cmmn.listener.ScriptCaseExecutionListener
All Implemented Interfaces:
CaseExecutionListener, DelegateListener<DelegateCaseExecution>

public class ScriptCaseExecutionListener
extends Object
implements CaseExecutionListener

An CaseExecutionListener which invokes a ExecutableScript when notified.

Author:
Roman Smirnov, Sebastian Menski

Field Summary
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
ScriptCaseExecutionListener(ExecutableScript script)
           
 
Method Summary
 ExecutableScript getScript()
           
 void notify(DelegateCaseExecution caseExecution)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

script

protected final ExecutableScript script
Constructor Detail

ScriptCaseExecutionListener

public ScriptCaseExecutionListener(ExecutableScript script)
Method Detail

notify

public void notify(DelegateCaseExecution caseExecution)
            throws Exception
Specified by:
notify in interface CaseExecutionListener
Specified by:
notify in interface DelegateListener<DelegateCaseExecution>
Throws:
Exception

getScript

public ExecutableScript getScript()


Copyright © 2015 camunda services GmbH. All rights reserved.