OperationResult, SuccessResult, TaskExecutionResult, TaskOperationResultpublic interface TaskSuccessResult extends TaskExecutionResult, SuccessResult
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isFromCache() |
Returns whether the output for this task was pulled from a build cache when using
task output caching.
|
boolean |
isUpToDate() |
Returns whether this task was up-to-date.
|
getEndTime, getStartTimegetExecutionReasons, isIncrementalboolean isUpToDate()
true if this task was up-to-dateboolean isFromCache()
NOTE: This will always be false if the Gradle version does not support task output caching.
true if the output for this task was from a build cache