Class AbstractStdOutProcessor

    • Constructor Detail

      • AbstractStdOutProcessor

        public AbstractStdOutProcessor()
    • Method Detail

      • setUp

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

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

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

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