Class LoggingSession

    • Field Detail

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