Interface LogCommandOutput

    • Method Detail

      • getInput

        InputStream getInput()
        Returns the stream that is connected to output of the executed command.
        Returns:
        the InputStream.
      • setBufferSize

        void setBufferSize​(int size)
        Sets the buffer size.
        Parameters:
        size - the size in bytes.
      • setLogger

        void setLogger​(org.slf4j.Logger logger)
        Sets the logger that is filled with the piped to the output of the command.
        Parameters:
        logger - the Logger.
      • getLogger

        org.slf4j.Logger getLogger()
        Returns the logger that is filled with the piped to the output of the command.
        Returns:
        the Logger.
      • getCommandLine

        CommandLine getCommandLine()
        Returns the command line for the logging message.
        Returns:
        the CommandLine.
      • getCommand

        String getCommand()
        Returns the command for the logging message.
        Returns:
        the String command.
      • setMessage

        void setMessage​(String message)
        Sets the message string.
        Parameters:
        message - the String message.
      • getMessage

        String getMessage()
        Returns the message string.
        Returns:
        the String message.