Schnittstelle TaskExecutionResult

Alle Superschnittstellen:
OperationResult, TaskOperationResult
Alle bekannten Unterschnittstellen:
TaskFailureResult, TaskSuccessResult

public interface TaskExecutionResult extends TaskOperationResult
Describes the result of a non-skipped task.
Seit:
5.1
  • Methodendetails

    • isIncremental

      boolean isIncremental()
      Returns whether this task was executed incrementally.
      Gibt zurück:
      true if this task was executed incrementally
      Löst aus:
      UnsupportedMethodException - For Gradle versions older than 5.1, where this method is not supported.
    • getExecutionReasons

      @Nullable List<String> getExecutionReasons()
      Returns the reasons why this task was executed.
      Gibt zurück:
      the reasons why this task was executed; an empty list indicates the task was up-to-date; null that it failed before up-to-date checks had been performed.
      Löst aus:
      UnsupportedMethodException - For Gradle versions older than 5.1, where this method is not supported.