Class DelegateExpressionTransactionDependentTaskListener
- java.lang.Object
-
- org.activiti.engine.impl.bpmn.listener.DelegateExpressionTransactionDependentTaskListener
-
- All Implemented Interfaces:
Serializable,BaseTaskListener,TransactionDependentTaskListener
public class DelegateExpressionTransactionDependentTaskListener extends Object implements TransactionDependentTaskListener
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Expressionexpression-
Fields inherited from interface org.activiti.engine.delegate.BaseTaskListener
EVENTNAME_ALL_EVENTS, EVENTNAME_ASSIGNMENT, EVENTNAME_COMPLETE, EVENTNAME_CREATE, EVENTNAME_DELETE
-
Fields inherited from interface org.activiti.engine.delegate.TransactionDependentTaskListener
ON_TRANSACTION_COMMITTED, ON_TRANSACTION_COMMITTING, ON_TRANSACTION_ROLLED_BACK
-
-
Constructor Summary
Constructors Constructor Description DelegateExpressionTransactionDependentTaskListener(Expression expression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetExpressionText()returns the expression text for this task listener.voidnotify(String processInstanceId, String executionId, Task task, Map<String,Object> executionVariables, Map<String,Object> customPropertiesMap)
-
-
-
Field Detail
-
expression
protected Expression expression
-
-
Constructor Detail
-
DelegateExpressionTransactionDependentTaskListener
public DelegateExpressionTransactionDependentTaskListener(Expression expression)
-
-
Method Detail
-
notify
public void notify(String processInstanceId, String executionId, Task task, Map<String,Object> executionVariables, Map<String,Object> customPropertiesMap)
- Specified by:
notifyin interfaceTransactionDependentTaskListener
-
getExpressionText
public String getExpressionText()
returns the expression text for this task listener. Comes in handy if you want to check which listeners you already have.
-
-