public class GenericIndexingTransformer extends Object implements org.flowable.job.service.impl.history.async.transformer.HistoryJsonTransformer
Modifier and Type | Field and Description |
---|---|
protected LowLevelIndexingService |
indexingService |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
Constructor and Description |
---|
GenericIndexingTransformer(LowLevelIndexingService indexingService,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getTypes() |
boolean |
isApplicable(com.fasterxml.jackson.databind.node.ObjectNode historicalData,
org.flowable.common.engine.impl.interceptor.CommandContext commandContext) |
void |
transformJson(org.flowable.job.service.impl.persistence.entity.HistoryJobEntity job,
com.fasterxml.jackson.databind.node.ObjectNode historicalData,
org.flowable.common.engine.impl.interceptor.CommandContext commandContext) |
protected final LowLevelIndexingService indexingService
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
public GenericIndexingTransformer(LowLevelIndexingService indexingService, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public List<String> getTypes()
getTypes
in interface org.flowable.job.service.impl.history.async.transformer.HistoryJsonTransformer
public boolean isApplicable(com.fasterxml.jackson.databind.node.ObjectNode historicalData, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
isApplicable
in interface org.flowable.job.service.impl.history.async.transformer.HistoryJsonTransformer
public void transformJson(org.flowable.job.service.impl.persistence.entity.HistoryJobEntity job, com.fasterxml.jackson.databind.node.ObjectNode historicalData, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
transformJson
in interface org.flowable.job.service.impl.history.async.transformer.HistoryJsonTransformer
Copyright © 2019. All rights reserved.