Package org.gradle.tooling.events.task
Schnittstelle TaskExecutionResult
- Alle Superschnittstellen:
OperationResult,TaskOperationResult
- Alle bekannten Unterschnittstellen:
TaskFailureResult,TaskSuccessResult
Describes the result of a non-skipped task.
- Seit:
- 5.1
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the reasons why this task was executed.booleanReturns whether this task was executed incrementally.Von Schnittstelle geerbte Methoden org.gradle.tooling.events.OperationResult
getEndTime, getStartTime
-
Methodendetails
-
isIncremental
boolean isIncremental()Returns whether this task was executed incrementally.- Gibt zurück:
trueif this task was executed incrementally- Löst aus:
UnsupportedMethodException- For Gradle versions older than 5.1, where this method is not supported.
-
getExecutionReasons
Returns the reasons why this task was executed.- Gibt zurück:
- 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. - Löst aus:
UnsupportedMethodException- For Gradle versions older than 5.1, where this method is not supported.
-