Class NetworkDownloadActivityStarted_1_0

  • All Implemented Interfaces:
    com.gradle.scan.eventmodel.EventData
    Direct Known Subclasses:
    NetworkDownloadActivityStarted_1_1

    @GradleVersion(since="3.5",
                   until="3.5")
    @PluginVersion(since="1.6",
                   until="1.16")
    public class NetworkDownloadActivityStarted_1_0
    extends Object
    implements com.gradle.scan.eventmodel.EventData
    An EventData that is published when a network download operation has started.

    Zero or more NetworkDownloadActivityStarted_1_0 events may be published.

    • Field Detail

      • id

        public final long id
        The id of the download activity.
      • location

        public final String location
        The location the data was downloaded from.
      • contentType

        @GradleVersion(since="3.5",
                       until="3.5")
        @PluginVersion(since="1.6",
                       until="1.7")
        @Nullable
        public final @Nullable String contentType
        The content type of the downloaded data.

        When using Gradle 4.0+ and build scan plugin 1.8+, this information is no longer provided.

    • Constructor Detail

      • NetworkDownloadActivityStarted_1_0

        public NetworkDownloadActivityStarted_1_0​(long id,
                                                  String location,
                                                  @Nullable
                                                  @Nullable String contentType,
                                                  long contentLength)