# TaskSuccessResult

interface TaskSuccessResult : TaskExecutionResult, SuccessResult(source)

Describes how a task operation finished successfully.

#### Since

2.5

## Functions

getEndTime
Link copied to clipboard
abstract fun getEndTime(): Long
Returns the time when the operation finished its execution.
getExecutionReasons
Link copied to clipboard
@Nullable
abstract fun getExecutionReasons(): @Nullable List<String>
Returns the reasons why this task was executed.
getStartTime
Link copied to clipboard
abstract fun getStartTime(): Long
Returns the time when the operation started its execution.
isFromCache
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.
isIncremental
Link copied to clipboard
abstract fun isIncremental(): Boolean
Returns whether this task was executed incrementally.
isUpToDate
Link copied to clipboard
abstract fun isUpToDate(): Boolean
Returns whether this task was up-to-date.