Class XpathBasedInboundEventKeyDetector
- java.lang.Object
-
- org.flowable.eventregistry.impl.keydetector.XpathBasedInboundEventKeyDetector
-
- All Implemented Interfaces:
InboundEventKeyDetector<Document>
public class XpathBasedInboundEventKeyDetector extends Object implements InboundEventKeyDetector<Document>
- Author:
- Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected StringxpathExpression
-
Constructor Summary
Constructors Constructor Description XpathBasedInboundEventKeyDetector(String xpathExpression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdetectEventDefinitionKey(Document payload)-
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
-
xpathExpression
protected String xpathExpression
-
-
Constructor Detail
-
XpathBasedInboundEventKeyDetector
public XpathBasedInboundEventKeyDetector(String xpathExpression)
-
-
Method Detail
-
detectEventDefinitionKey
public String detectEventDefinitionKey(Document payload)
- Specified by:
detectEventDefinitionKeyin interfaceInboundEventKeyDetector<Document>
-
-