public interface IEventProcessor
Modifier and Type | Method and Description |
---|---|
ProcessActivityCollaboration |
getRegisteredMessage(String eventId)
Returns already created instance of a message event which was discarded if
there exist one and discards the new one.
|
void |
notifyCollaboration(ProcessActivityCollaboration collaboration)
Notify event processor of an inbound collaboration
|
void |
notifyStartedActivities(ProcessActivity[] enabledActivities)
Enables list of activities in a process instance.
|
void |
processEvents()
Starts processing event from the queue.
|
void notifyStartedActivities(ProcessActivity[] enabledActivities) throws BPSimulatorException
enabledActivities
- array of activities to enableBPSimulatorException
void notifyCollaboration(ProcessActivityCollaboration collaboration) throws BPSimulatorException
collaborations
- collaboration activityBPSimulatorException
void processEvents() throws BPSimulatorException, InterruptedException
ProcessActivityCollaboration getRegisteredMessage(String eventId)
eventId
- Source event with the same associated Activity which one to
replace if message has been registeredCopyright © 2020 Pivotal Software, Inc.. All rights reserved.