Interface ConsoleInterceptorTarget


  • public interface ConsoleInterceptorTarget
    Implement this interface to be able to receive intercepted console lines from the ConsoleOutputInterceptor.
    Author:
    Rene Schneider - initial API and implementation
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onLine​(java.lang.String aLine, boolean anStdErrFlag)
      Called for each intercepted line.
    • Method Detail

      • onLine

        void onLine​(java.lang.String aLine,
                    boolean anStdErrFlag)
        Called for each intercepted line.
        Parameters:
        aLine - the line
        anStdErrFlag - whether the line was intercepted on stderr