Class InboundChannelDefinitionBuilderImpl.InboundEventKeyJsonDetectorBuilderImpl
java.lang.Object
org.flowable.eventregistry.impl.model.InboundChannelDefinitionBuilderImpl.InboundEventKeyJsonDetectorBuilderImpl
- All Implemented Interfaces:
InboundChannelModelBuilder.InboundEventKeyJsonDetectorBuilder
- Enclosing class:
- InboundChannelDefinitionBuilderImpl
public static class InboundChannelDefinitionBuilderImpl.InboundEventKeyJsonDetectorBuilderImpl
extends Object
implements InboundChannelModelBuilder.InboundEventKeyJsonDetectorBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected InboundChannelDefinitionBuilderImpl.InboundEventProcessingPipelineBuilderImpl<com.fasterxml.jackson.databind.JsonNode>
-
Constructor Summary
ConstructorsConstructorDescriptionInboundEventKeyJsonDetectorBuilderImpl
(InboundChannelDefinitionBuilderImpl.InboundEventProcessingPipelineBuilderImpl<com.fasterxml.jackson.databind.JsonNode> inboundEventProcessingPipelineBuilder) -
Method Summary
Modifier and TypeMethodDescriptionDetermines the key of the event based on a top-level field in the JSON representation in the event.detectEventKeyUsingJsonPointerExpression
(String jsonPointerExpression) Determines the key of the event using on a JSON Pointer expression to find the value.fixedEventKey
(String key) Sets the event key to a hardcoded value.
-
Field Details
-
inboundEventProcessingPipelineBuilder
protected InboundChannelDefinitionBuilderImpl.InboundEventProcessingPipelineBuilderImpl<com.fasterxml.jackson.databind.JsonNode> inboundEventProcessingPipelineBuilder
-
-
Constructor Details
-
InboundEventKeyJsonDetectorBuilderImpl
public InboundEventKeyJsonDetectorBuilderImpl(InboundChannelDefinitionBuilderImpl.InboundEventProcessingPipelineBuilderImpl<com.fasterxml.jackson.databind.JsonNode> inboundEventProcessingPipelineBuilder)
-
-
Method Details
-
fixedEventKey
Description copied from interface:InboundChannelModelBuilder.InboundEventKeyJsonDetectorBuilder
Sets the event key to a hardcoded value. This is useful when the channel only receives one type of event.- Specified by:
fixedEventKey
in interfaceInboundChannelModelBuilder.InboundEventKeyJsonDetectorBuilder
-
detectEventKeyUsingJsonField
public InboundChannelModelBuilder.InboundEventFilterJsonBuilder detectEventKeyUsingJsonField(String field) Description copied from interface:InboundChannelModelBuilder.InboundEventKeyJsonDetectorBuilder
Determines the key of the event based on a top-level field in the JSON representation in the event.- Specified by:
detectEventKeyUsingJsonField
in interfaceInboundChannelModelBuilder.InboundEventKeyJsonDetectorBuilder
-
detectEventKeyUsingJsonPointerExpression
public InboundChannelModelBuilder.InboundEventFilterJsonBuilder detectEventKeyUsingJsonPointerExpression(String jsonPointerExpression) Description copied from interface:InboundChannelModelBuilder.InboundEventKeyJsonDetectorBuilder
Determines the key of the event using on a JSON Pointer expression to find the value.- Specified by:
detectEventKeyUsingJsonPointerExpression
in interfaceInboundChannelModelBuilder.InboundEventKeyJsonDetectorBuilder
-