Class LoggingSession

java.lang.Object
org.flowable.common.engine.impl.logging.LoggingSession
All Implemented Interfaces:
Session

public class LoggingSession extends Object implements Session
  • Field Details

    • 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 Details

    • LoggingSession

      public LoggingSession(CommandContext commandContext, LoggingListener loggingListener, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
  • Method Details

    • initCommandContextCloseListener

      protected void initCommandContextCloseListener()
    • addLoggingData

      public void addLoggingData(String type, com.fasterxml.jackson.databind.node.ObjectNode data, String engineType)
    • flush

      public void flush()
      Specified by:
      flush in interface Session
    • close

      public void close()
      Specified by:
      close in interface Session
    • getLoggingData

      public List<com.fasterxml.jackson.databind.node.ObjectNode> getLoggingData()
    • setLoggingData

      public void setLoggingData(List<com.fasterxml.jackson.databind.node.ObjectNode> loggingData)