Package com.flowable.indexing.job
Class AbstractAsyncHistoryJobHandler
java.lang.Object
com.flowable.indexing.job.AbstractAsyncHistoryJobHandler
- All Implemented Interfaces:
HistoryJobHandler
- Direct Known Subclasses:
IndexDataAsyncHistoryJobHandler
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected final String
protected final org.slf4j.Logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(HistoryJobEntity job, String configuration, CommandContext commandContext, JobServiceConfiguration jobServiceConfiguration) protected abstract List<HistoryJobEntity>
generateHistoryJobs
(JobServiceConfiguration jobServiceConfiguration, List<com.fasterxml.jackson.databind.node.ObjectNode> historyObjectNodes) protected byte[]
getType()
boolean
protected abstract void
processHistoryJson
(CommandContext commandContext, HistoryJobEntity job, com.fasterxml.jackson.databind.JsonNode historyNode) void
setAsyncHistoryJsonGroupingEnabled
(boolean isAsyncHistoryJsonGroupingEnabled)
-
Field Details
-
logger
protected final org.slf4j.Logger logger -
jobType
-
isAsyncHistoryJsonGroupingEnabled
protected boolean isAsyncHistoryJsonGroupingEnabled
-
-
Constructor Details
-
AbstractAsyncHistoryJobHandler
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceHistoryJobHandler
-
execute
public void execute(HistoryJobEntity job, String configuration, CommandContext commandContext, JobServiceConfiguration jobServiceConfiguration) - Specified by:
execute
in interfaceHistoryJobHandler
-
generateHistoryJobs
protected abstract List<HistoryJobEntity> generateHistoryJobs(JobServiceConfiguration jobServiceConfiguration, List<com.fasterxml.jackson.databind.node.ObjectNode> historyObjectNodes) -
getJobBytes
-
processHistoryJson
protected abstract void processHistoryJson(CommandContext commandContext, HistoryJobEntity job, com.fasterxml.jackson.databind.JsonNode historyNode) -
isAsyncHistoryJsonGroupingEnabled
public boolean isAsyncHistoryJsonGroupingEnabled() -
setAsyncHistoryJsonGroupingEnabled
public void setAsyncHistoryJsonGroupingEnabled(boolean isAsyncHistoryJsonGroupingEnabled)
-