Package io.jmix.bpm.engine.eventlistener
Class ProcessStartedEventListener
java.lang.Object
io.jmix.bpm.engine.eventlistener.ProcessStartedEventListener
- All Implemented Interfaces:
org.flowable.common.engine.api.delegate.event.FlowableEventListener
@Component("bpm_ProcessStartedEventListener")
public class ProcessStartedEventListener
extends Object
implements org.flowable.common.engine.api.delegate.event.FlowableEventListener
An event listener that publishes a Spring application event when a process is started and
sets an initiator of process into process variables if appropriate property is set.
- See Also:
-
BpmProperties.processInitiatorVariableEnabledBpmProperties.processInitiatorVariableName
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanvoidonEvent(org.flowable.common.engine.api.delegate.event.FlowableEvent event) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.common.engine.api.delegate.event.FlowableEventListener
getTypes
-
Constructor Details
-
ProcessStartedEventListener
public ProcessStartedEventListener()
-
-
Method Details
-
onEvent
public void onEvent(org.flowable.common.engine.api.delegate.event.FlowableEvent event) - Specified by:
onEventin interfaceorg.flowable.common.engine.api.delegate.event.FlowableEventListener
-
isFailOnException
public boolean isFailOnException()- Specified by:
isFailOnExceptionin interfaceorg.flowable.common.engine.api.delegate.event.FlowableEventListener
-
isFireOnTransactionLifecycleEvent
public boolean isFireOnTransactionLifecycleEvent()- Specified by:
isFireOnTransactionLifecycleEventin interfaceorg.flowable.common.engine.api.delegate.event.FlowableEventListener
-
getOnTransaction
- Specified by:
getOnTransactionin interfaceorg.flowable.common.engine.api.delegate.event.FlowableEventListener
-