Class DefaultRepositoryKeyFunctionFactory

java.lang.Object
org.eclipse.aether.internal.impl.DefaultRepositoryKeyFunctionFactory
All Implemented Interfaces:
org.eclipse.aether.spi.remoterepo.RepositoryKeyFunctionFactory

@Singleton @Named public class DefaultRepositoryKeyFunctionFactory extends Object implements org.eclipse.aether.spi.remoterepo.RepositoryKeyFunctionFactory
  • Constructor Details

  • Method Details

    • systemRepositoryKeyFunction

      public org.eclipse.aether.repository.RepositoryKeyFunction systemRepositoryKeyFunction(org.eclipse.aether.RepositorySystemSession session)
      Returns system-wide repository key function.
      Specified by:
      systemRepositoryKeyFunction in interface org.eclipse.aether.spi.remoterepo.RepositoryKeyFunctionFactory
      Since:
      2.0.14
      See Also:
    • repositoryKeyFunction

      public org.eclipse.aether.repository.RepositoryKeyFunction repositoryKeyFunction(Class<?> owner, org.eclipse.aether.RepositorySystemSession session, String defaultValue, String configurationKey)
      Method that based on configuration returns the "repository key function". The returned function will be session cached if session is equipped with cache, otherwise it will be non cached. Method never returns null. Only the configurationKey parameter may be null in which case no configuration lookup happens but the defaultValue is directly used instead.
      Specified by:
      repositoryKeyFunction in interface org.eclipse.aether.spi.remoterepo.RepositoryKeyFunctionFactory
      Since:
      2.0.14