Class DefaultLocalRepository

java.lang.Object
org.apache.maven.internal.impl.DefaultLocalRepository
All Implemented Interfaces:
LocalRepository, Repository

public class DefaultLocalRepository extends Object implements LocalRepository
  • Constructor Details

    • DefaultLocalRepository

      public DefaultLocalRepository(@Nonnull org.eclipse.aether.repository.LocalRepository repository)
  • Method Details

    • getRepository

      @Nonnull public org.eclipse.aether.repository.LocalRepository getRepository()
    • getId

      @Nonnull public String getId()
      Description copied from interface: Repository
      Gets the identifier of this repository.
      Specified by:
      getId in interface Repository
      Returns:
      the (case-sensitive) identifier, never null
    • getType

      @Nonnull public String getType()
      Description copied from interface: Repository
      Gets the type of the repository, for example "default".
      Specified by:
      getType in interface Repository
      Returns:
      the (case-sensitive) type of the repository, never null
    • getPath

      @Nonnull public Path getPath()
      Specified by:
      getPath in interface LocalRepository