Class AbstractStdErrProcessor

    • Constructor Detail

      • AbstractStdErrProcessor

        public AbstractStdErrProcessor()
    • Method Detail

      • setUp

        public String setUp​(FlowContextHandler owner)
        Configures the handler.
        Specified by:
        setUp in interface StdErrProcessor
        Parameters:
        owner - the owning command
        Returns:
        null if successfully setup, otherwise error message
      • processAsync

        public abstract void processAsync​(String output)
        Processes the stderr output received when in async mode.
        Specified by:
        processAsync in interface StdErrProcessor
        Parameters:
        output - the output to process
      • processBlocking

        public abstract void processBlocking​(String output)
        Processes the stderr output received when in blocking mode.
        Specified by:
        processBlocking in interface StdErrProcessor
        Parameters:
        output - the output to process
      • cleanUp

        public void cleanUp()
        Cleans up data structures, frees up memory.
        Specified by:
        cleanUp in interface CleanUpHandler