Class NetworkDownloadActivityStarted_1_0

java.lang.Object
com.gradle.scan.eventmodel.gradle.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 Details

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

    • contentLength

      @GradleVersion(since="3.5", until="3.5") @PluginVersion(since="1.6") public final long contentLength
      The size of the advertised downloaded data. Can be '-1' if not provided by the server from which the data is downloaded.

      When using Gradle 4.0+ and build scan plugin 1.8+, use NetworkDownloadActivityFinished_1_1.readContentLength to get the actual read content length.

  • Constructor Details

    • NetworkDownloadActivityStarted_1_0

      public NetworkDownloadActivityStarted_1_0(long id, String location, @Nullable @Nullable String contentType, long contentLength)
  • Method Details