Class JsonPointerBasedInboundEventKeyDetector
- java.lang.Object
-
- org.flowable.eventregistry.impl.keydetector.JsonPointerBasedInboundEventKeyDetector
-
- All Implemented Interfaces:
InboundEventKeyDetector<com.fasterxml.jackson.databind.JsonNode>
public class JsonPointerBasedInboundEventKeyDetector extends Object implements InboundEventKeyDetector<com.fasterxml.jackson.databind.JsonNode>
- Author:
- Joram Barrez, Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected com.fasterxml.jackson.core.JsonPointerjsonPointerExpressionprotected StringjsonPointerValueprotected com.fasterxml.jackson.databind.ObjectMapperobjectMapper
-
Constructor Summary
Constructors Constructor Description JsonPointerBasedInboundEventKeyDetector(String jsonPointerExpression, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdetectEventDefinitionKey(com.fasterxml.jackson.databind.JsonNode payload)StringgetJsonPointerValue()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.flowable.eventregistry.api.InboundEventKeyDetector
detectEventDefinitionKey
-
-
-
-
Field Detail
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
jsonPointerValue
protected String jsonPointerValue
-
jsonPointerExpression
protected com.fasterxml.jackson.core.JsonPointer jsonPointerExpression
-
-
Constructor Detail
-
JsonPointerBasedInboundEventKeyDetector
public JsonPointerBasedInboundEventKeyDetector(String jsonPointerExpression, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
detectEventDefinitionKey
public String detectEventDefinitionKey(com.fasterxml.jackson.databind.JsonNode payload)
- Specified by:
detectEventDefinitionKeyin interfaceInboundEventKeyDetector<com.fasterxml.jackson.databind.JsonNode>
-
getJsonPointerValue
public String getJsonPointerValue()
-
-