Class Maven2RepositoryLayoutFactory

java.lang.Object
org.eclipse.aether.internal.impl.Maven2RepositoryLayoutFactory
All Implemented Interfaces:
org.eclipse.aether.spi.connector.layout.RepositoryLayoutFactory

@Singleton @Named("maven2") public final class Maven2RepositoryLayoutFactory extends Object implements org.eclipse.aether.spi.connector.layout.RepositoryLayoutFactory
Provides a Maven-2 repository layout for repositories with content type "default".
  • Field Details

  • Constructor Details

    • Maven2RepositoryLayoutFactory

      @Inject public Maven2RepositoryLayoutFactory(org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactorySelector checksumAlgorithmFactorySelector, org.eclipse.aether.spi.artifact.ArtifactPredicateFactory artifactPredicateFactory)
  • Method Details

    • getPriority

      public float getPriority()
      Specified by:
      getPriority in interface org.eclipse.aether.spi.connector.layout.RepositoryLayoutFactory
    • setPriority

      public Maven2RepositoryLayoutFactory setPriority(float priority)
      Sets the priority of this component.
      Parameters:
      priority - The priority.
      Returns:
      This component for chaining, never null.
    • newInstance

      public org.eclipse.aether.spi.connector.layout.RepositoryLayout newInstance(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository repository) throws org.eclipse.aether.transfer.NoRepositoryLayoutException
      Specified by:
      newInstance in interface org.eclipse.aether.spi.connector.layout.RepositoryLayoutFactory
      Throws:
      org.eclipse.aether.transfer.NoRepositoryLayoutException