| Modifier and Type | Class and Description |
|---|---|
static class |
AsyncHistorySession.AsyncHistorySessionData
Wrapper for the async history job data, to avoid messing with maps and lists.
|
| Modifier and Type | Field and Description |
|---|---|
protected AsyncHistoryListener |
asyncHistoryListener |
protected CommandContext |
commandContext |
protected CommandContextCloseListener |
commandContextCloseListener |
protected List<String> |
jobDataTypes |
protected Map<JobServiceConfiguration,AsyncHistorySession.AsyncHistorySessionData> |
sessionData |
protected String |
tenantId |
static String |
TIMESTAMP |
protected TransactionContext |
transactionContext |
| Constructor and Description |
|---|
AsyncHistorySession(CommandContext commandContext,
AsyncHistoryListener asyncHistoryJobListener) |
AsyncHistorySession(CommandContext commandContext,
AsyncHistoryListener asyncHistoryJobListener,
List<String> jobDataTypes) |
public static final String TIMESTAMP
protected CommandContext commandContext
protected AsyncHistoryListener asyncHistoryListener
protected CommandContextCloseListener commandContextCloseListener
protected TransactionContext transactionContext
protected String tenantId
protected Map<JobServiceConfiguration,AsyncHistorySession.AsyncHistorySessionData> sessionData
public AsyncHistorySession(CommandContext commandContext, AsyncHistoryListener asyncHistoryJobListener)
public AsyncHistorySession(CommandContext commandContext, AsyncHistoryListener asyncHistoryJobListener, List<String> jobDataTypes)
protected boolean isAsyncHistoryExecutorEnabled()
protected void initCommandContextCloseListener()
public void addHistoricData(String type, com.fasterxml.jackson.databind.node.ObjectNode data)
public void addHistoricData(String type, com.fasterxml.jackson.databind.node.ObjectNode data, String tenantId)
public void addHistoricData(JobServiceConfiguration jobServiceConfiguration, String type, com.fasterxml.jackson.databind.node.ObjectNode data)
public void addHistoricData(JobServiceConfiguration jobServiceConfiguration, String type, com.fasterxml.jackson.databind.node.ObjectNode data, String tenantId)
public String getTenantId()
public void setTenantId(String tenantId)
public Map<JobServiceConfiguration,AsyncHistorySession.AsyncHistorySessionData> getSessionData()
public void setSessionData(Map<JobServiceConfiguration,AsyncHistorySession.AsyncHistorySessionData> sessionData)
public TransactionContext getTransactionContext()
public void setTransactionContext(TransactionContext transactionContext)
Copyright © 2020 Flowable. All rights reserved.