W - The type of the CloudEventWriter created by this factoryR - The return value of the CloudEventWriter created by this factory@FunctionalInterface public interface CloudEventWriterFactory<W extends CloudEventWriter<R>,R>
SpecVersion as first step in the writing process.| Modifier and Type | Method and Description |
|---|---|
W |
create(SpecVersion version)
Create a
CloudEventWriter starting from the provided SpecVersion |
W create(SpecVersion version) throws CloudEventRWException
CloudEventWriter starting from the provided SpecVersionversion - the spec version to create the writerCloudEventRWException - if the spec version is invalid or the writer cannot be instantiated.Copyright © 2023. All rights reserved.