Class NpmComponentDependency_1_0
java.lang.Object
com.gradle.scan.eventmodel.npm.dependencies.NpmComponentDependency_1_0
A component dependency.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @Nullable("when requested identity is the same as the resolved identity") IntegerThe requested identity, when resolution succeeded and is different to the resolved identity.final @Nullable("when resolved dependency was not installed, e.g. optional peer dependency") IntegerThe resolved identity.final NpmDependencyType_1The dependency type. -
Constructor Summary
ConstructorsConstructorDescriptionNpmComponentDependency_1_0(@Nullable Integer requested, @Nullable Integer to, NpmDependencyType_1 type) -
Method Summary
-
Field Details
-
requested
@Nullable("when requested identity is the same as the resolved identity") public final @Nullable("when requested identity is the same as the resolved identity") Integer requestedThe requested identity, when resolution succeeded and is different to the resolved identity.It is what is defined in the `package.json` file.
Index into
NpmDependencyResolutionData_1_0.identities. -
to
@Nullable("when resolved dependency was not installed, e.g. optional peer dependency") public final @Nullable("when resolved dependency was not installed, e.g. optional peer dependency") Integer toThe resolved identity.It is what is defined in the `package-lock.json` file.
Index into
NpmDependencyResolutionData_1_0.identities. -
type
The dependency type.
-
-
Constructor Details
-
NpmComponentDependency_1_0
public NpmComponentDependency_1_0(@Nullable @Nullable Integer requested, @Nullable @Nullable Integer to, NpmDependencyType_1 type)
-
-
Method Details