Package org.flowable.eventregistry.impl
Class DefaultCorrelationKeyGenerator
- java.lang.Object
-
- org.flowable.eventregistry.impl.DefaultCorrelationKeyGenerator
-
- All Implemented Interfaces:
CorrelationKeyGenerator<Map<String,Object>>
public class DefaultCorrelationKeyGenerator extends Object implements CorrelationKeyGenerator<Map<String,Object>>
Default implementation of theCorrelationKeyGeneratorinterface. This implementation provides a single hash value based on the data passed in. All values in the data are used to generate the key.This implementation is inspired by the Spring Batch DefaultJobKeyGenerator
- Author:
- Filip Hrisafov
-
-
Constructor Summary
Constructors Constructor Description DefaultCorrelationKeyGenerator()
-
-
-
Method Detail
-
generateKey
public String generateKey(Map<String,Object> source)
- Specified by:
generateKeyin interfaceCorrelationKeyGenerator<Map<String,Object>>
-
-