org.camunda.bpm.engine.impl.task.listener
Class ScriptTaskListener

java.lang.Object
  extended by org.camunda.bpm.engine.impl.task.listener.ScriptTaskListener
All Implemented Interfaces:
TaskListener

public class ScriptTaskListener
extends Object
implements TaskListener

A TaskListener which invokes a ExecutableScript when notified.

Author:
Sebastian Menski

Field Summary
protected  ExecutableScript script
           
 
Fields inherited from interface org.camunda.bpm.engine.delegate.TaskListener
EVENTNAME_ASSIGNMENT, EVENTNAME_COMPLETE, EVENTNAME_CREATE, EVENTNAME_DELETE
 
Constructor Summary
ScriptTaskListener(ExecutableScript script)
           
 
Method Summary
 ExecutableScript getScript()
           
 void notify(DelegateTask delegateTask)
           
 
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

ScriptTaskListener

public ScriptTaskListener(ExecutableScript script)
Method Detail

notify

public void notify(DelegateTask delegateTask)
Specified by:
notify in interface TaskListener

getScript

public ExecutableScript getScript()


Copyright © 2016 camunda services GmbH. All rights reserved.