public interface TaskSuccessResult extends TaskOperationResult, SuccessResult
Modifier and Type | Method and 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, getStartTime
boolean 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