Class ProcessResult

java.lang.Object
io.ebean.test.containers.process.ProcessResult

public class ProcessResult extends Object
The result of an external process call.
  • Constructor Details

    • ProcessResult

      public ProcessResult(int result, List<String> out)
      Create with the result exit code and std out and err content.
  • Method Details

    • toString

      public String toString()
      Return debug output.
      Overrides:
      toString in class Object
    • success

      public boolean success()
      Return true if exit result was 0.
    • getOutLines

      public List<String> getOutLines()
      Return the STD OUT lines.
    • debug

      public String debug()
      Return debug output.