Class TaskFinished_1_4
- java.lang.Object
-
- com.gradle.scan.eventmodel.gradle.TaskFinished_1_0
-
- com.gradle.scan.eventmodel.gradle.TaskFinished_1_1
-
- com.gradle.scan.eventmodel.gradle.TaskFinished_1_2
-
- com.gradle.scan.eventmodel.gradle.TaskFinished_1_3
-
- com.gradle.scan.eventmodel.gradle.TaskFinished_1_4
-
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
- Direct Known Subclasses:
TaskFinished_1_5
@GradleVersion(since="4.0") @PluginVersion(since="1.8", until="1.11") public class TaskFinished_1_4 extends TaskFinished_1_3
Indicates that a task has finished executing.
-
-
Field Summary
Fields Modifier and Type Field Description boolean
actionable
Whether the task is actionable.@Nullable("when task is not UP_TO_DATE or FROM_CACHE or Task.setDidWork(false) set or information not available from Gradle < 4.0") String
originBuildInvocationId
The id of the build invocation that produced the outputs being reused, if the task was UP_TO_DATE or FROM_CACHE.List<String>
upToDateMessages
Messages describing why the task was not up to date, if it was not.-
Fields inherited from class com.gradle.scan.eventmodel.gradle.TaskFinished_1_3
cachingDisabledExplanation, cachingDisabledReason
-
Fields inherited from class com.gradle.scan.eventmodel.gradle.TaskFinished_1_2
cacheable
-
Fields inherited from class com.gradle.scan.eventmodel.gradle.TaskFinished_1_1
skipMessage
-
Fields inherited from class com.gradle.scan.eventmodel.gradle.TaskFinished_1_0
id, outcome, path
-
-
Constructor Summary
Constructors Constructor Description TaskFinished_1_4(long id, String path, TaskOutcome_1 outcome, @Nullable String skipMessage, boolean cacheable, @Nullable TaskOutputCachingDisabledReason_1 cachingDisabledReason, @Nullable String cachingDisabledExplanation, @Nullable String originBuildInvocationId, boolean actionable, List<String> upToDateMessages)
-
-
-
Field Detail
-
originBuildInvocationId
@Nullable("when task is not UP_TO_DATE or FROM_CACHE or Task.setDidWork(false) set or information not available from Gradle < 4.0") public final @Nullable("when task is not UP_TO_DATE or FROM_CACHE or Task.setDidWork(false) set or information not available from Gradle < 4.0") String originBuildInvocationId
The id of the build invocation that produced the outputs being reused, if the task was UP_TO_DATE or FROM_CACHE.
-
actionable
public final boolean actionable
Whether the task is actionable.
-
upToDateMessages
public final List<String> upToDateMessages
Messages describing why the task was not up to date, if it was not.An empty list denotes a task that was either up-to-date, or was not executed for some other reason (e.g. SKIPPED or FROM-CACHE).
That is, this value is only useful when
TaskFinished_1_0.outcome
is eitherTaskOutcome_1.FAILED
orTaskOutcome_1.SUCCESS
.
-
-
Constructor Detail
-
TaskFinished_1_4
public TaskFinished_1_4(long id, String path, TaskOutcome_1 outcome, @Nullable @Nullable String skipMessage, boolean cacheable, @Nullable @Nullable TaskOutputCachingDisabledReason_1 cachingDisabledReason, @Nullable @Nullable String cachingDisabledExplanation, @Nullable @Nullable String originBuildInvocationId, boolean actionable, List<String> upToDateMessages)
-
-
Method Detail
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classTaskFinished_1_3
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classTaskFinished_1_3
-
toString
public String toString()
- Overrides:
toString
in classTaskFinished_1_3
-
-