Schnittstelle ExecResult


public interface ExecResult
Represents the result of running an external process.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Throws an ExecException if the process exited with a non-zero exit value.
    int
    Returns the exit value of the process.
    Re-throws any failure executing this process.
  • Methodendetails

    • getExitValue

      int getExitValue()
      Returns the exit value of the process.
    • assertNormalExitValue

      ExecResult assertNormalExitValue() throws org.gradle.process.internal.ExecException
      Throws an ExecException if the process exited with a non-zero exit value.
      Gibt zurück:
      this
      Löst aus:
      org.gradle.process.internal.ExecException - if the process exited with a non-zero exit value
    • rethrowFailure

      ExecResult rethrowFailure() throws org.gradle.process.internal.ExecException
      Re-throws any failure executing this process.
      Gibt zurück:
      this
      Löst aus:
      org.gradle.process.internal.ExecException - the execution failure