Class BaseDelegateEventListener
- java.lang.Object
-
- org.flowable.common.engine.api.delegate.event.AbstractFlowableEventListener
-
- org.flowable.engine.impl.bpmn.helper.BaseDelegateEventListener
-
- All Implemented Interfaces:
FlowableEventListener
- Direct Known Subclasses:
DelegateExpressionFlowableEventListener,DelegateFlowableEventListener,ErrorThrowingEventListener,MessageThrowingEventListener,SignalThrowingEventListener
public abstract class BaseDelegateEventListener extends AbstractFlowableEventListener
Base implementation of aFlowableEventListener, used when creating event-listeners that are part of a BPMN definition.- Author:
- Frederik Heremans
-
-
Field Summary
Fields Modifier and Type Field Description protected Class<?>entityClass-
Fields inherited from class org.flowable.common.engine.api.delegate.event.AbstractFlowableEventListener
onTransaction
-
-
Constructor Summary
Constructors Constructor Description BaseDelegateEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>getEntityClass()protected booleanisValidEvent(FlowableEvent event)voidsetEntityClass(Class<?> entityClass)-
Methods inherited from class org.flowable.common.engine.api.delegate.event.AbstractFlowableEventListener
getOnTransaction, isFireOnTransactionLifecycleEvent, setOnTransaction
-
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
-
entityClass
protected Class<?> entityClass
-
-
Method Detail
-
getEntityClass
public Class<?> getEntityClass()
-
setEntityClass
public void setEntityClass(Class<?> entityClass)
-
isValidEvent
protected boolean isValidEvent(FlowableEvent event)
-
-