TaskSuccessResult

Describes how a task operation finished successfully.

Since

2.5

Functions

Link copied to clipboard
abstract fun getEndTime(): Long
Returns the time when the operation finished its execution.
Link copied to clipboard
@Nullable
abstract fun getExecutionReasons(): @Nullable List<String>
Returns the reasons why this task was executed.
Link copied to clipboard
abstract fun getStartTime(): Long
Returns the time when the operation started its execution.
Link copied to clipboard
abstract fun isFromCache(): Boolean
Returns whether the output for this task was pulled from a build cache when using task output caching.
Link copied to clipboard
abstract fun isIncremental(): Boolean
Returns whether this task was executed incrementally.
Link copied to clipboard
abstract fun isUpToDate(): Boolean
Returns whether this task was up-to-date.