OperationResult
, TaskOperationResult
TaskFailureResult
, TaskSuccessResult
@Incubating public interface TaskExecutionResult extends TaskOperationResult
Modifier and Type | Method | Description |
---|---|---|
List<String> |
getExecutionReasons() |
Returns the reasons why this task was executed.
|
boolean |
isIncremental() |
Returns whether this task was executed incrementally.
|
getEndTime, getStartTime
boolean isIncremental()
true
if this task was executed incrementallyUnsupportedMethodException
- For Gradle versions older than 5.1, where this method is not supported.@Nullable List<String> getExecutionReasons()
null
that it failed before up-to-date checks had been performed.UnsupportedMethodException
- For Gradle versions older than 5.1, where this method is not supported.