public class AsyncHistorySessionCommandContextCloseListener extends Object implements CommandContextCloseListener
| Modifier and Type | Field and Description |
|---|---|
protected AsyncHistoryListener |
asyncHistoryListener |
protected AsyncHistorySession |
asyncHistorySession |
static List<String> |
TYPE_ORDER |
| Constructor and Description |
|---|
AsyncHistorySessionCommandContextCloseListener() |
AsyncHistorySessionCommandContextCloseListener(AsyncHistorySession asyncHistorySession,
AsyncHistoryListener asyncHistoryListener) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterSessionsFlush(CommandContext commandContext) |
void |
closed(CommandContext commandContext) |
void |
closeFailure(CommandContext commandContext) |
void |
closing(CommandContext commandContext) |
protected void |
generateJson(CommandContext commandContext,
Map<String,List<Map<String,String>>> jobData,
List<com.fasterxml.jackson.databind.node.ObjectNode> objectNodes,
String type) |
protected com.fasterxml.jackson.databind.node.ObjectNode |
generateJson(CommandContext commandContext,
String type,
Map<String,String> historicData) |
AsyncHistoryListener |
getAsyncHistoryListener() |
AsyncHistorySession |
getAsyncHistorySession() |
void |
setAsyncHistoryListener(AsyncHistoryListener asyncHistoryListener) |
void |
setAsyncHistorySession(AsyncHistorySession asyncHistorySession) |
protected AsyncHistorySession asyncHistorySession
protected AsyncHistoryListener asyncHistoryListener
public AsyncHistorySessionCommandContextCloseListener()
public AsyncHistorySessionCommandContextCloseListener(AsyncHistorySession asyncHistorySession, AsyncHistoryListener asyncHistoryListener)
public void closing(CommandContext commandContext)
closing in interface CommandContextCloseListenerprotected void generateJson(CommandContext commandContext, Map<String,List<Map<String,String>>> jobData, List<com.fasterxml.jackson.databind.node.ObjectNode> objectNodes, String type)
protected com.fasterxml.jackson.databind.node.ObjectNode generateJson(CommandContext commandContext, String type, Map<String,String> historicData)
public void closed(CommandContext commandContext)
closed in interface CommandContextCloseListenerpublic void closeFailure(CommandContext commandContext)
closeFailure in interface CommandContextCloseListenerpublic void afterSessionsFlush(CommandContext commandContext)
afterSessionsFlush in interface CommandContextCloseListenerpublic AsyncHistorySession getAsyncHistorySession()
public void setAsyncHistorySession(AsyncHistorySession asyncHistorySession)
public AsyncHistoryListener getAsyncHistoryListener()
public void setAsyncHistoryListener(AsyncHistoryListener asyncHistoryListener)
Copyright © 2017 Flowable. All rights reserved.