Class ExpressionExecutionListener
- java.lang.Object
-
- org.camunda.bpm.engine.impl.bpmn.listener.ExpressionExecutionListener
-
- All Implemented Interfaces:
DelegateListener<DelegateExecution>,ExecutionListener
public class ExpressionExecutionListener extends Object implements ExecutionListener
AnExecutionListenerthat evaluates aExpressionwhen notified.- Author:
- Frederik Heremans
-
-
Field Summary
Fields Modifier and Type Field Description protected Expressionexpression-
Fields inherited from interface org.camunda.bpm.engine.delegate.ExecutionListener
EVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKE
-
-
Constructor Summary
Constructors Constructor Description ExpressionExecutionListener(Expression expression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetExpressionText()returns the expression text for this execution listener.voidnotify(DelegateExecution execution)
-
-
-
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:
notifyin interfaceDelegateListener<DelegateExecution>- Specified by:
notifyin interfaceExecutionListener- 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.
-
-