public abstract class AbstractAsyncHistoryJobHandler extends Object implements HistoryJobHandler
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isAsyncHistoryJsonGroupingEnabled |
protected String |
jobType |
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
AbstractAsyncHistoryJobHandler(String jobType) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(HistoryJobEntity job,
String configuration,
CommandContext commandContext,
JobServiceConfiguration jobServiceConfiguration) |
protected byte[] |
getJobBytes(HistoryJobEntity job) |
String |
getType() |
boolean |
isAsyncHistoryJsonGroupingEnabled() |
protected abstract void |
processHistoryJson(CommandContext commandContext,
HistoryJobEntity job,
com.fasterxml.jackson.databind.JsonNode historyNode) |
void |
setAsyncHistoryJsonGroupingEnabled(boolean isAsyncHistoryJsonGroupingEnabled) |
protected final org.slf4j.Logger logger
protected boolean isAsyncHistoryJsonGroupingEnabled
protected String jobType
public AbstractAsyncHistoryJobHandler(String jobType)
public String getType()
getType in interface HistoryJobHandlerpublic void execute(HistoryJobEntity job, String configuration, CommandContext commandContext, JobServiceConfiguration jobServiceConfiguration)
execute in interface HistoryJobHandlerprotected byte[] getJobBytes(HistoryJobEntity job)
protected abstract void processHistoryJson(CommandContext commandContext, HistoryJobEntity job, com.fasterxml.jackson.databind.JsonNode historyNode)
public boolean isAsyncHistoryJsonGroupingEnabled()
public void setAsyncHistoryJsonGroupingEnabled(boolean isAsyncHistoryJsonGroupingEnabled)
Copyright © 2021 Flowable. All rights reserved.