Class PassThrough

    • Constructor Detail

      • PassThrough

        public PassThrough()
    • Method Detail

      • generates

        public Class generates​(boolean blocking)
        Returns what output type the formatter generates.
        blocking - returns the type when used on blocking mode output
        the type
      • doFormatOutput

        protected void doFormatOutput​(ExternalCommand command,
                                      boolean stdout,
                                      boolean blocking,
                                      String output)
        Formats the output received from the command. Feeds the formatted data back into the ExternalCommand instance.
        Specified by:
        doFormatOutput in class AbstractOutputFormatter
        command - the external command to feed the output back into
        stdout - whether the output was from stdout or stderr
        blocking - whether the output was received via blocking or async execution
        output - the output to format