R - the returned CloudEventData from this mapper.@FunctionalInterface @ParametersAreNonnullByDefault public interface CloudEventDataMapper<R extends CloudEventData>
CloudEventData instance to another one.| Modifier and Type | Method and Description |
|---|---|
static CloudEventDataMapper<CloudEventData> |
identity() |
R |
map(CloudEventData data)
Map
data to another CloudEventData instance. |
R map(CloudEventData data) throws CloudEventRWException
data to another CloudEventData instance.data - the input dataCloudEventRWException - is anything goes wrong while mapping the input datastatic CloudEventDataMapper<CloudEventData> identity()
Copyright © 2021. All rights reserved.