Class LoggingSession
- java.lang.Object
-
- org.flowable.common.engine.impl.logging.LoggingSession
-
-
Field Summary
Fields Modifier and Type Field Description protected CommandContextcommandContextprotected LoggingSessionCommandContextCloseListenercommandContextCloseListenerprotected List<com.fasterxml.jackson.databind.node.ObjectNode>loggingDataprotected LoggingListenerloggingListenerprotected com.fasterxml.jackson.databind.ObjectMapperobjectMapper
-
Constructor Summary
Constructors Constructor Description LoggingSession(CommandContext commandContext, LoggingListener loggingListener, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLoggingData(String type, com.fasterxml.jackson.databind.node.ObjectNode data, String engineType)voidclose()voidflush()List<com.fasterxml.jackson.databind.node.ObjectNode>getLoggingData()protected voidinitCommandContextCloseListener()voidsetLoggingData(List<com.fasterxml.jackson.databind.node.ObjectNode> loggingData)
-
-
-
Field Detail
-
commandContext
protected CommandContext commandContext
-
commandContextCloseListener
protected LoggingSessionCommandContextCloseListener commandContextCloseListener
-
loggingListener
protected LoggingListener loggingListener
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
loggingData
protected List<com.fasterxml.jackson.databind.node.ObjectNode> loggingData
-
-
Constructor Detail
-
LoggingSession
public LoggingSession(CommandContext commandContext, LoggingListener loggingListener, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
initCommandContextCloseListener
protected void initCommandContextCloseListener()
-
addLoggingData
public void addLoggingData(String type, com.fasterxml.jackson.databind.node.ObjectNode data, String engineType)
-
getLoggingData
public List<com.fasterxml.jackson.databind.node.ObjectNode> getLoggingData()
-
setLoggingData
public void setLoggingData(List<com.fasterxml.jackson.databind.node.ObjectNode> loggingData)
-
-