Package org.gradle.tooling.events.task
Interface TaskSuccessResult
- All Superinterfaces:
- OperationResult,- SuccessResult,- TaskExecutionResult,- TaskOperationResult
Describes how a task operation finished successfully.
- Since:
- 2.5
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturns whether the output for this task was pulled from a build cache when using task output caching.booleanReturns whether this task was up-to-date.Methods inherited from interface org.gradle.tooling.events.OperationResultgetEndTime, getStartTimeMethods inherited from interface org.gradle.tooling.events.task.TaskExecutionResultgetExecutionReasons, isIncremental
- 
Method Details- 
isUpToDateboolean isUpToDate()Returns whether this task was up-to-date.- Returns:
- trueif this task was up-to-date
 
- 
isFromCacheboolean 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. - Returns:
- trueif the output for this task was from a build cache
- Since:
- 3.3
 
 
-