Class ExecResult

java.lang.Object
io.skodjob.testframe.executor.ExecResult
All Implemented Interfaces:
Serializable

public class ExecResult extends Object implements Serializable
Represents the result of an execution.
See Also:
  • Method Details

    • exitStatus

      public boolean exitStatus()
      Checks if the execution was successful.
      Returns:
      true if the execution was successful, false otherwise.
    • returnCode

      public int returnCode()
      Gets the return code of the execution.
      Returns:
      The return code.
    • out

      public String out()
      Gets the standard output of the execution.
      Returns:
      The standard output.
    • err

      public String err()
      Gets the standard error of the execution.
      Returns:
      The standard error.
    • toString

      public String toString()
      Returns a string representation of the ExecResult.
      Overrides:
      toString in class Object
      Returns:
      A string representation of the ExecResult.