Class 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.