Class CachingArtifactTypeRegistry
- java.lang.Object
-
- org.eclipse.aether.internal.impl.collect.CachingArtifactTypeRegistry
-
- All Implemented Interfaces:
org.eclipse.aether.artifact.ArtifactTypeRegistry
public class CachingArtifactTypeRegistry extends java.lang.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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.aether.artifact.ArtifactType
get(java.lang.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)
-
-
-
Method Detail
-
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(java.lang.String typeId)
- Specified by:
get
in interfaceorg.eclipse.aether.artifact.ArtifactTypeRegistry
-
-