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.processInitiatorVariableEnabled
BpmProperties.processInitiatorVariableName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
onEvent
(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, wait
Methods 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:
onEvent
in interfaceorg.flowable.common.engine.api.delegate.event.FlowableEventListener
-
isFailOnException
public boolean isFailOnException()- Specified by:
isFailOnException
in interfaceorg.flowable.common.engine.api.delegate.event.FlowableEventListener
-
isFireOnTransactionLifecycleEvent
public boolean isFireOnTransactionLifecycleEvent()- Specified by:
isFireOnTransactionLifecycleEvent
in interfaceorg.flowable.common.engine.api.delegate.event.FlowableEventListener
-
getOnTransaction
- Specified by:
getOnTransaction
in interfaceorg.flowable.common.engine.api.delegate.event.FlowableEventListener
-