Class MvnRepository_1_0

java.lang.Object
com.gradle.scan.eventmodel.maven.MvnRepository_1_0
All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData

@MavenExtensionVersion(since="1.4") public final class MvnRepository_1_0 extends Object implements com.gradle.scan.eventmodel.EventData
An EventData containing details about a Maven repository used by the build.

An event stream can contain multiple MvnRepository_1_0.

  • Field Details

    • id

      public final long id
      The generated, unique ID of this repository.
    • modelId

      public final String modelId
      Declared ID of the repository.
    • url

      public final String url
      URL of the repository.
    • releasePolicy

      public final long releasePolicy
      ID of the release policy. References MvnRepositoryPolicy_1_0.id.
    • snapshotPolicy

      public final long snapshotPolicy
      ID of the snapshot policy. References MvnRepositoryPolicy_1_0.id.
    • mirroredRepositories

      @Nullable("when there are no mirrors defined") public final @Nullable("when there are no mirrors defined") List<Long> mirroredRepositories
      Which repositories this one mirrors. References other repositories via id.
  • Constructor Details

    • MvnRepository_1_0

      public MvnRepository_1_0(long id, String modelId, String url, long releasePolicy, long snapshotPolicy, @Nullable @Nullable List<Long> mirroredRepositories)
  • Method Details