org.camunda.bpm.engine.impl.bpmn.listener
Class ScriptExecutionListener

java.lang.Object
  extended by org.camunda.bpm.engine.impl.bpmn.listener.ScriptExecutionListener
All Implemented Interfaces:
DelegateListener<DelegateExecution>, ExecutionListener

public class ScriptExecutionListener
extends Object
implements ExecutionListener

An ExecutionListener which invokes a ExecutableScript when notified.

Author:
Sebastian Menski

Field Summary
protected  ExecutableScript script
           
 
Fields inherited from interface org.camunda.bpm.engine.delegate.ExecutionListener
EVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKE
 
Constructor Summary
ScriptExecutionListener(ExecutableScript script)
           
 
Method Summary
 ExecutableScript getScript()
           
 void notify(DelegateExecution execution)
           
 
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

ScriptExecutionListener

public ScriptExecutionListener(ExecutableScript script)
Method Detail

notify

public void notify(DelegateExecution execution)
            throws Exception
Specified by:
notify in interface DelegateListener<DelegateExecution>
Specified by:
notify in interface ExecutionListener
Throws:
Exception

getScript

public ExecutableScript getScript()


Copyright © 2015 camunda services GmbH. All rights reserved.