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 NpmRegistry_1_0 events may be published.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final boolean
    Whether this registry is defined in the publishConfig section of the package.json file.
    final long
    The generated, unique ID of this registry.
    final @Nullable("when it is a primary registry") String
    The scope associated with this registry.
    final String
    URL of the registry.
  • Constructor Summary

    Constructors
    Constructor
    Description
    NpmRegistry_1_0(long id, @Nullable String scope, String url, boolean fromPublishConfig)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • id

      public final long id
      The generated, unique ID of this registry.
    • scope

      @Nullable("when it is a primary registry") public final @Nullable("when it is a primary registry") String scope
      The scope associated with this registry.
    • url

      public final String url
      URL of the registry.
    • fromPublishConfig

      public final boolean fromPublishConfig
      Whether this registry is defined in the publishConfig section of the package.json file.
  • Constructor Details

    • NpmRegistry_1_0

      public NpmRegistry_1_0(long id, @Nullable @Nullable String scope, String url, boolean fromPublishConfig)
  • Method Details