public class DefaultOutboundEvent<T> extends Object implements OutboundEvent<T>
| Modifier and Type | Field and Description |
|---|---|
protected T |
body |
protected EventInstance |
eventInstance |
protected Map<String,Object> |
headers |
| Constructor and Description |
|---|
DefaultOutboundEvent(T body,
EventInstance eventInstance) |
DefaultOutboundEvent(T body,
EventInstance eventInstance,
Map<String,Object> headers) |
| Modifier and Type | Method and Description |
|---|---|
T |
getBody() |
EventInstance |
getEventInstance() |
Map<String,Object> |
getHeaders() |
protected final T body
protected final EventInstance eventInstance
public DefaultOutboundEvent(T body, EventInstance eventInstance)
public DefaultOutboundEvent(T body, EventInstance eventInstance, Map<String,Object> headers)
public T getBody()
getBody in interface OutboundEvent<T>public Map<String,Object> getHeaders()
getHeaders in interface OutboundEvent<T>public EventInstance getEventInstance()
getEventInstance in interface OutboundEvent<T>Copyright © 2022 Flowable. All rights reserved.