public class EPDataFlowEventCollectorContext
extends java.lang.Object
EPDataFlowEventCollector
provides collection context.
Do not retain handles to this instance as its contents may change.
Constructor and Description |
---|
EPDataFlowEventCollectorContext(EventBusCollector eventBusCollector,
java.lang.Object event)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getEvent()
Returns the event.
|
EventBusCollector |
getEventBusCollector()
Returns the emitter for the event bus.
|
void |
setEvent(java.lang.Object event)
Sets the event.
|
public EPDataFlowEventCollectorContext(EventBusCollector eventBusCollector, java.lang.Object event)
eventBusCollector
- for sending events to the event busevent
- to processpublic java.lang.Object getEvent()
public void setEvent(java.lang.Object event)
event
- to setpublic EventBusCollector getEventBusCollector()