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
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanWhether the task is actionable.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") StringThe id of the build invocation that produced the outputs being reused, if the task was UP_TO_DATE or FROM_CACHE.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, cachingDisabledReasonFields inherited from class com.gradle.scan.eventmodel.gradle.TaskFinished_1_2
cacheableFields inherited from class com.gradle.scan.eventmodel.gradle.TaskFinished_1_1
skipMessageFields inherited from class com.gradle.scan.eventmodel.gradle.TaskFinished_1_0
id, outcome, path -
Constructor Summary
ConstructorsConstructorDescriptionTaskFinished_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) -
Method Summary
-
Field Details
-
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 originBuildInvocationIdThe 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 actionableWhether the task is actionable. -
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.outcomeis eitherTaskOutcome_1.FAILEDorTaskOutcome_1.SUCCESS.
-
-
Constructor Details
-
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 Details
-
equals
- Overrides:
equalsin classTaskFinished_1_3
-
hashCode
public int hashCode()- Overrides:
hashCodein classTaskFinished_1_3
-
toString
- Overrides:
toStringin classTaskFinished_1_3
-