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

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

public class ExpressionExecutionListener
extends Object
implements ExecutionListener

An ExecutionListener that evaluates a Expression when notified.

Author:
Frederik Heremans

Field Summary
protected  Expression expression
           
 
Fields inherited from interface org.camunda.bpm.engine.delegate.ExecutionListener
EVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKE
 
Constructor Summary
ExpressionExecutionListener(Expression expression)
           
 
Method Summary
 String getExpressionText()
          returns the expression text for this execution listener.
 void notify(DelegateExecution execution)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expression

protected Expression expression
Constructor Detail

ExpressionExecutionListener

public ExpressionExecutionListener(Expression expression)
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

getExpressionText

public String getExpressionText()
returns the expression text for this execution listener. Comes in handy if you want to check which listeners you already have.



Copyright © 2017 camunda services GmbH. All rights reserved.