Class ProcessListenerAdapter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onErrorOutput​(java.lang.String text)
      process error output
      void onStandardOutput​(java.lang.String text)
      process standard output
      void processFinished​(int exitCode)
      Process finished, terminated or failed to start.
      void processStarted​(java.lang.String programCommandLine, java.io.File workingDirectory)
      Process was started.*
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProcessListenerAdapter

        public ProcessListenerAdapter()
    • Method Detail

      • onStandardOutput

        public void onStandardOutput​(@NotNull
                                     java.lang.String text)
        Description copied from interface: ProcessListener
        process standard output
        Specified by:
        onStandardOutput in interface ProcessListener
        Parameters:
        text - process stdout output text
      • onErrorOutput

        public void onErrorOutput​(@NotNull
                                  java.lang.String text)
        Description copied from interface: ProcessListener
        process error output
        Specified by:
        onErrorOutput in interface ProcessListener
        Parameters:
        text - process stderr output text
      • processStarted

        public void processStarted​(@NotNull
                                   java.lang.String programCommandLine,
                                   @NotNull
                                   java.io.File workingDirectory)
        Description copied from interface: ProcessListener
        Process was started.*
        Specified by:
        processStarted in interface ProcessListener
        Parameters:
        programCommandLine - program commandline to log. The actual commandline was collected as list of arguments and sent to java api as the list.
        workingDirectory - process working directory