Class AbstractFlowableEventListener
- java.lang.Object
-
- org.flowable.common.engine.api.delegate.event.AbstractFlowableEventListener
-
- All Implemented Interfaces:
FlowableEventListener
public abstract class AbstractFlowableEventListener extends Object implements FlowableEventListener
- Author:
- Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected StringonTransaction
-
Constructor Summary
Constructors Constructor Description AbstractFlowableEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetOnTransaction()booleanisFireOnTransactionLifecycleEvent()voidsetOnTransaction(String onTransaction)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.flowable.common.engine.api.delegate.event.FlowableEventListener
getTypes, isFailOnException, onEvent
-
-
-
-
Field Detail
-
onTransaction
protected String onTransaction
-
-
Method Detail
-
isFireOnTransactionLifecycleEvent
public boolean isFireOnTransactionLifecycleEvent()
- Specified by:
isFireOnTransactionLifecycleEventin interfaceFlowableEventListener- Returns:
- Returns whether this event listener fires immediately when the event occurs or on a transaction lifecycle event (before/after commit or rollback).
-
getOnTransaction
public String getOnTransaction()
- Specified by:
getOnTransactionin interfaceFlowableEventListener- Returns:
- if non-null, indicates the point in the lifecycle of the current transaction when the event should be fired.
-
setOnTransaction
public void setOnTransaction(String onTransaction)
-
-