Class ExpressionExecutionListener
- java.lang.Object
-
- org.camunda.bpm.engine.impl.bpmn.listener.ExpressionExecutionListener
-
- All Implemented Interfaces:
DelegateListener<DelegateExecution>
,ExecutionListener
public class ExpressionExecutionListener extends java.lang.Object implements ExecutionListener
AnExecutionListener
that evaluates aExpression
when notified.- Author:
- Frederik Heremans
-
-
Field Summary
Fields Modifier and Type Field Description protected Expression
expression
-
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 java.lang.String
getExpressionText()
returns the expression text for this execution listener.void
notify(DelegateExecution execution)
-
-
-
Field Detail
-
expression
protected Expression expression
-
-
Constructor Detail
-
ExpressionExecutionListener
public ExpressionExecutionListener(Expression expression)
-
-
Method Detail
-
notify
public void notify(DelegateExecution execution) throws java.lang.Exception
- Specified by:
notify
in interfaceDelegateListener<DelegateExecution>
- Specified by:
notify
in interfaceExecutionListener
- Throws:
java.lang.Exception
-
getExpressionText
public java.lang.String getExpressionText()
returns the expression text for this execution listener. Comes in handy if you want to check which listeners you already have.
-
-