Package com.flowable.indexing.job
Class IndexZippedDataAsyncHistoryJobHandler
- java.lang.Object
-
- org.flowable.job.service.impl.history.async.AbstractAsyncHistoryJobHandler
-
- org.flowable.job.service.impl.history.async.AsyncHistoryJobHandler
-
- org.flowable.job.service.impl.history.async.AsyncHistoryJobZippedHandler
-
- com.flowable.indexing.job.IndexZippedDataAsyncHistoryJobHandler
-
- All Implemented Interfaces:
HistoryJobHandler
public class IndexZippedDataAsyncHistoryJobHandler extends AsyncHistoryJobZippedHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected BulkIndexRequestExecutorbulkIndexRequestExecutorstatic StringJOB_TYPE-
Fields inherited from class org.flowable.job.service.impl.history.async.AsyncHistoryJobHandler
defaultHistoryJsonTransformer, historyJsonTransformers
-
Fields inherited from class org.flowable.job.service.impl.history.async.AbstractAsyncHistoryJobHandler
isAsyncHistoryJsonGroupingEnabled, jobType, logger
-
-
Constructor Summary
Constructors Constructor Description IndexZippedDataAsyncHistoryJobHandler(List<HistoryJsonTransformer> historyJsonTransformers, BulkIndexRequestExecutor bulkIndexRequestExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(HistoryJobEntity job, String configuration, CommandContext commandContext, JobServiceConfiguration jobServiceConfiguration)StringgetType()protected voidhandleNoMatchingHistoryTransformer(CommandContext commandContext, HistoryJobEntity job, com.fasterxml.jackson.databind.node.ObjectNode historicalData, String type)-
Methods inherited from class org.flowable.job.service.impl.history.async.AsyncHistoryJobZippedHandler
decompress, getJobBytes
-
Methods inherited from class org.flowable.job.service.impl.history.async.AsyncHistoryJobHandler
addHistoryJsonTransformer, executeHistoryTransformers, getDefaultHistoryJsonTransformer, getHistoryJsonTransformers, processHistoryJson, setDefaultHistoryJsonTransformer, setHistoryJsonTransformers
-
Methods inherited from class org.flowable.job.service.impl.history.async.AbstractAsyncHistoryJobHandler
isAsyncHistoryJsonGroupingEnabled, setAsyncHistoryJsonGroupingEnabled
-
-
-
-
Field Detail
-
JOB_TYPE
public static final String JOB_TYPE
- See Also:
- Constant Field Values
-
bulkIndexRequestExecutor
protected BulkIndexRequestExecutor bulkIndexRequestExecutor
-
-
Constructor Detail
-
IndexZippedDataAsyncHistoryJobHandler
public IndexZippedDataAsyncHistoryJobHandler(List<HistoryJsonTransformer> historyJsonTransformers, BulkIndexRequestExecutor bulkIndexRequestExecutor)
-
-
Method Detail
-
execute
public void execute(HistoryJobEntity job, String configuration, CommandContext commandContext, JobServiceConfiguration jobServiceConfiguration)
- Specified by:
executein interfaceHistoryJobHandler- Overrides:
executein classAbstractAsyncHistoryJobHandler
-
getType
public String getType()
- Specified by:
getTypein interfaceHistoryJobHandler- Overrides:
getTypein classAbstractAsyncHistoryJobHandler
-
handleNoMatchingHistoryTransformer
protected void handleNoMatchingHistoryTransformer(CommandContext commandContext, HistoryJobEntity job, com.fasterxml.jackson.databind.node.ObjectNode historicalData, String type)
- Overrides:
handleNoMatchingHistoryTransformerin classAsyncHistoryJobHandler
-
-