Schnittstelle TaskSuccessResult

Alle Superschnittstellen:
OperationResult, SuccessResult, TaskExecutionResult, TaskOperationResult

public interface TaskSuccessResult extends TaskExecutionResult, SuccessResult
Describes how a task operation finished successfully.
Seit:
2.5
  • Methodendetails

    • isUpToDate

      boolean isUpToDate()
      Returns whether this task was up-to-date.
      Gibt zurück:
      true if this task was up-to-date
    • isFromCache

      boolean isFromCache()
      Returns whether the output for this task was pulled from a build cache when using task output caching.

      NOTE: This will always be false if the Gradle version does not support task output caching.

      Gibt zurück:
      true if the output for this task was from a build cache
      Seit:
      3.3