Class NpmDependencyDownloadFinished_1_1
java.lang.Object
com.gradle.scan.eventmodel.npm.dependencies.NpmDependencyDownloadFinished_1_0
com.gradle.scan.eventmodel.npm.dependencies.NpmDependencyDownloadFinished_1_1
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
@NpmVersion(since="10.8.2")
@NpmAgentVersion(since="3.0.0")
public class NpmDependencyDownloadFinished_1_1
extends NpmDependencyDownloadFinished_1_0
An
EventData which represents a completion of a download from a remote repository.
An event stream will contain zero or more NpmDependencyDownloadFinished_1_1 events.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @Nullable("when the download failed, or the size is unknown") LongThe number of bytes downloaded.Fields inherited from class com.gradle.scan.eventmodel.npm.dependencies.NpmDependencyDownloadFinished_1_0
durationMillis, httpStatus, url -
Constructor Summary
ConstructorsConstructorDescriptionNpmDependencyDownloadFinished_1_1(String url, int httpStatus, long durationMillis, @Nullable Long size) -
Method Summary
-
Field Details
-
size
@Nullable("when the download failed, or the size is unknown") public final @Nullable("when the download failed, or the size is unknown") Long sizeThe number of bytes downloaded.
-
-
Constructor Details
-
NpmDependencyDownloadFinished_1_1
-
-
Method Details
-
equals
- Overrides:
equalsin classNpmDependencyDownloadFinished_1_0
-
hashCode
public int hashCode()- Overrides:
hashCodein classNpmDependencyDownloadFinished_1_0
-
toString
- Overrides:
toStringin classNpmDependencyDownloadFinished_1_0
-