All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
MatcherSeals.CheckJavaVersionConsumer, ProcessOutputAlignmentCollector, ProcessOutputInfoLogging

public interface ProcessOutputConsumer extends AutoCloseable
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
     
    void
    Processes one line of output.
  • Method Details

    • processOutput

      void processOutput(String line)
      Processes one line of output.
      Parameters:
      line - the whole text line from an external process.
    • close

      default void close() throws Exception
      Specified by:
      close in interface AutoCloseable
      Throws:
      Exception