Package org.gradle.tooling.events.task
Interface TaskExecutionResult
- All Superinterfaces:
- OperationResult,- TaskOperationResult
- All Known Subinterfaces:
- TaskFailureResult,- TaskSuccessResult
Describes the result of a non-skipped task.
- Since:
- 5.1
- 
Method SummaryModifier and TypeMethodDescriptionReturns the reasons why this task was executed.booleanReturns whether this task was executed incrementally.Methods inherited from interface org.gradle.tooling.events.OperationResultgetEndTime, getStartTime
- 
Method Details- 
isIncrementalboolean isIncremental()Returns whether this task was executed incrementally.- Returns:
- trueif this task was executed incrementally
- Throws:
- UnsupportedMethodException- For Gradle versions older than 5.1, where this method is not supported.
 
- 
getExecutionReasonsReturns the reasons why this task was executed.- Returns:
- the reasons why this task was executed; an empty list indicates the task was up-to-date;
         nullthat it failed before up-to-date checks had been performed.
- Throws:
- UnsupportedMethodException- For Gradle versions older than 5.1, where this method is not supported.
 
 
-