Class NpmRegistry_1_0
java.lang.Object
com.gradle.scan.eventmodel.npm.dependencies.NpmRegistry_1_0
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
@NpmVersion(since="10.8.2")
@NpmAgentVersion(since="2.0.0")
public class NpmRegistry_1_0
extends Object
implements com.gradle.scan.eventmodel.EventData
An
EventData containing details about npm registry used by the build.
Zero or one events may be published.NpmRegistry_1_0
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanWhether this registry is defined in thepublishConfigsection of the package.json file.final longThe generated, unique ID of this registry.final @Nullable("when it is a primary registry") StringThe scope associated with this registry.final StringURL of the registry. -
Constructor Summary
ConstructorsConstructorDescriptionNpmRegistry_1_0(long id, @Nullable String scope, String url, boolean fromPublishConfig) -
Method Summary
-
Field Details
-
id
public final long idThe generated, unique ID of this registry. -
scope
@Nullable("when it is a primary registry") public final @Nullable("when it is a primary registry") String scopeThe scope associated with this registry. -
url
URL of the registry. -
fromPublishConfig
public final boolean fromPublishConfigWhether this registry is defined in thepublishConfigsection of the package.json file.
-
-
Constructor Details
-
NpmRegistry_1_0
-
-
Method Details