public class EPDataFlowEventBeanCollectorContext extends Object
EPDataFlowEventBeanCollector
provides collection context.
Do not retain handles to this instance as its contents may change.
Constructor and Description |
---|
EPDataFlowEventBeanCollectorContext(EPDataFlowEmitter emitter,
boolean submitEventBean,
EventBean event)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
EPDataFlowEmitter |
getEmitter()
Returns the emitter.
|
EventBean |
getEvent()
Returns the event to process.
|
boolean |
isSubmitEventBean()
Returns true to submit EventBean instances, false to submit underlying event.
|
void |
setEvent(EventBean event)
Sets the event to process.
|
public EPDataFlowEventBeanCollectorContext(EPDataFlowEmitter emitter, boolean submitEventBean, EventBean event)
emitter
- to emit into the data flowsubmitEventBean
- indicator whether to submit EventBean or underlying eventsevent
- to processpublic EventBean getEvent()
public void setEvent(EventBean event)
event
- to processpublic EPDataFlowEmitter getEmitter()
public boolean isSubmitEventBean()