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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNetworkDownloadActivityStarted_1_0(long id, String location, @Nullable String contentType, long contentLength) -
Method Summary
-
Field Details
-
id
public final long idThe id of the download activity. -
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 contentTypeThe 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 contentLengthThe 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.readContentLengthto get the actual read content length.
-
-
Constructor Details
-
NetworkDownloadActivityStarted_1_0
-
-
Method Details