| 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) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHistoricData(JobServiceConfiguration jobServiceConfiguration,
String type,
com.fasterxml.jackson.databind.node.ObjectNode data) |
void |
addHistoricData(JobServiceConfiguration jobServiceConfiguration,
String type,
com.fasterxml.jackson.databind.node.ObjectNode data,
String tenantId) |
void |
close() |
void |
flush() |
AsyncHistoryListener |
getAsyncHistoryListener() |
List<String> |
getJobDataTypes() |
Map<JobServiceConfiguration,AsyncHistorySession.AsyncHistorySessionData> |
getSessionData() |
String |
getTenantId() |
TransactionContext |
getTransactionContext() |
protected void |
initCommandContextCloseListener() |
void |
setJobDataTypes(List<String> jobDataTypes) |
void |
setSessionData(Map<JobServiceConfiguration,AsyncHistorySession.AsyncHistorySessionData> sessionData) |
void |
setTenantId(String tenantId) |
void |
setTransactionContext(TransactionContext transactionContext) |
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 void initCommandContextCloseListener()
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 AsyncHistoryListener getAsyncHistoryListener()
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 © 2021 Flowable. All rights reserved.