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
FieldsModifier and TypeFieldDescriptionfinal List<? extends CollectionCallbackExecutionAggregate_1_0> Callback execution aggregates.final List<? extends CollectionCallbackParticipantRef_1_0> An index of all of the entities that registered a callback and/or were executing when a callback is executed. -
Constructor Summary
ConstructorsConstructorDescriptionCollectionCallbackData_1_0(List<? extends CollectionCallbackParticipantRef_1_0> participants, List<? extends CollectionCallbackExecutionAggregate_1_0> executions) -
Method Summary
-
Field Details
-
participants
An index of all of the entities that registered a callback and/or were executing when a callback is executed. -
executions
Callback execution aggregates.
-
-
Constructor Details
-
CollectionCallbackData_1_0
public CollectionCallbackData_1_0(List<? extends CollectionCallbackParticipantRef_1_0> participants, List<? extends CollectionCallbackExecutionAggregate_1_0> executions)
-
-
Method Details