Class CachingArtifactTypeRegistry

java.lang.Object
org.eclipse.aether.internal.impl.collect.CachingArtifactTypeRegistry
All Implemented Interfaces:
org.eclipse.aether.artifact.ArtifactTypeRegistry

public class CachingArtifactTypeRegistry extends Object implements org.eclipse.aether.artifact.ArtifactTypeRegistry
A short-lived artifact type registry that caches results from a presumably slower type registry. Internal helper class for collector implementations.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.aether.artifact.ArtifactType
    get(String typeId)
     
    static org.eclipse.aether.artifact.ArtifactTypeRegistry
    newInstance(org.eclipse.aether.artifact.ArtifactTypeRegistry delegate)
     
    static org.eclipse.aether.artifact.ArtifactTypeRegistry
    newInstance(org.eclipse.aether.RepositorySystemSession session)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • newInstance

      public static org.eclipse.aether.artifact.ArtifactTypeRegistry newInstance(org.eclipse.aether.RepositorySystemSession session)
    • newInstance

      public static org.eclipse.aether.artifact.ArtifactTypeRegistry newInstance(org.eclipse.aether.artifact.ArtifactTypeRegistry delegate)
    • get

      public org.eclipse.aether.artifact.ArtifactType get(String typeId)
      Specified by:
      get in interface org.eclipse.aether.artifact.ArtifactTypeRegistry