Class DefaultProcessInstance

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getExitCode()
      Get process exit code.
      java.util.Collection<java.lang.String> getStdErr()
      Get process error output.
      java.util.Collection<java.lang.String> getStdOut()
      Get process standard output.
      • Methods inherited from class java.lang.Object

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

      • DefaultProcessInstance

        public DefaultProcessInstance​(int exitCode,
                                      ProcessOutput processStdOut,
                                      ProcessOutput processStdErr)
    • Method Detail

      • getExitCode

        public int getExitCode()
        Description copied from interface: ProcessInstance
        Get process exit code.
        Specified by:
        getExitCode in interface ProcessInstance
        Returns:
        Returns process exit code
      • getStdOut

        public java.util.Collection<java.lang.String> getStdOut()
        Description copied from interface: ProcessInstance
        Get process standard output.
        Specified by:
        getStdOut in interface ProcessInstance
        Returns:
        Returns process standard out output
      • getStdErr

        public java.util.Collection<java.lang.String> getStdErr()
        Description copied from interface: ProcessInstance
        Get process error output.
        Specified by:
        getStdErr in interface ProcessInstance
        Returns:
        Returns process standard error output