Class CollectionCallbackData_1_0
- java.lang.Object
-
- com.gradle.scan.eventmodel.gradle.CollectionCallbackData_1_0
-
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
@GradleVersion(since="5.1") @PluginVersion(since="2.2") public class CollectionCallbackData_1_0 extends Object implements com.gradle.scan.eventmodel.EventData
Timing information about callbacks registered with domain object collections that were executed.Gradle collection/container types support registering callbacks that execute with objects that are added later. The most common usage is via the tasks container (e.g.
tasks.withType(Test)
). This event captures information about all of the executed callbacks during build configuration, indicating how much time was spent for each pair of plugin or script that was executing when the callback executed (i.e.CollectionCallbackExecutionAggregate_1_0.during
), and plugin or script that registered the callback (i.e.CollectionCallbackExecutionAggregate_1_0.owner
).An event stream will contain a single event of this type if there are any callback executions, or no events of this type if there are no callback executions.
-
-
Field Summary
Fields Modifier and Type Field Description List<? extends CollectionCallbackExecutionAggregate_1_0>
executions
Callback execution aggregates.List<? extends CollectionCallbackParticipantRef_1_0>
participants
An index of all of the entities that registered a callback and/or were executing when a callback is executed.
-
Constructor Summary
Constructors Constructor Description CollectionCallbackData_1_0(List<? extends CollectionCallbackParticipantRef_1_0> participants, List<? extends CollectionCallbackExecutionAggregate_1_0> executions)
-
-
-
Field Detail
-
participants
public final List<? extends CollectionCallbackParticipantRef_1_0> participants
An index of all of the entities that registered a callback and/or were executing when a callback is executed.
-
executions
public final List<? extends CollectionCallbackExecutionAggregate_1_0> executions
Callback execution aggregates.
-
-
Constructor Detail
-
CollectionCallbackData_1_0
public CollectionCallbackData_1_0(List<? extends CollectionCallbackParticipantRef_1_0> participants, List<? extends CollectionCallbackExecutionAggregate_1_0> executions)
-
-