Interface CommandOutputHandlerSupport

All Superinterfaces:
CommandHandlerSupport
All Known Subinterfaces:
CommandErrorHandler, CommandOutputHandler<T>

public interface CommandOutputHandlerSupport extends CommandHandlerSupport
Describes an output handler which processes the standard error or standard output stream from a Command.
Since:
8.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Process an output stream generated by the external process (either stdout or stderr)

    Methods inherited from interface com.atlassian.bitbucket.scm.CommandHandlerSupport

    complete, setWatchdog
  • Method Details

    • process

      void process(@Nonnull InputStream output) throws IOException
      Process an output stream generated by the external process (either stdout or stderr)
      Parameters:
      output - the external process' output stream (available as an input to this class)
      Throws:
      IOException - if there is a problem processing the output