org.bonitasoft.engine.jobs
public class BPMEventHandlingJob extends InternalJob
| Constructor and Description |
|---|
BPMEventHandlingJob() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
String |
getDescription() |
protected int |
getMaxCouples() |
protected List<org.bonitasoft.engine.core.process.instance.model.event.handling.SMessageEventCouple> |
getMessageUniqueCouples()
From a list of couples that may contain duplicate waiting message candidates, select only one waiting message for each message instance: the first
matching waiting message is arbitrary chosen.
|
String |
getName() |
void |
setAttributes(Map<String,Serializable> attributes) |
getTenantServiceAccessorpublic String getName()
public String getDescription()
public void execute()
throws org.bonitasoft.engine.scheduler.exception.SJobExecutionException
org.bonitasoft.engine.scheduler.exception.SJobExecutionExceptionprotected List<org.bonitasoft.engine.core.process.instance.model.event.handling.SMessageEventCouple> getMessageUniqueCouples() throws org.bonitasoft.engine.core.process.instance.api.exceptions.event.trigger.SEventTriggerInstanceReadException
SWaitingMessageEvent of types SBPMEventType.START_EVENT or SBPMEventType.EVENT_SUB_PROCESS, it can be
selected several times to trigger multiple instances.messageCouples - all the possible couples that match the potential correlation.org.bonitasoft.engine.core.process.instance.api.exceptions.event.trigger.SEventTriggerInstanceReadExceptionpublic void setAttributes(Map<String,Serializable> attributes) throws org.bonitasoft.engine.scheduler.exception.SJobConfigurationException
org.bonitasoft.engine.scheduler.exception.SJobConfigurationExceptionprotected int getMaxCouples()
Copyright © 2014 Bonitasoft S.A.. All rights reserved.