public class CachingArtifactTypeRegistry extends Object implements ArtifactTypeRegistry
Modifier and Type | Method and Description |
---|---|
ArtifactType |
get(String typeId)
Gets the artifact type with the specified identifier.
|
static ArtifactTypeRegistry |
newInstance(ArtifactTypeRegistry delegate) |
static ArtifactTypeRegistry |
newInstance(RepositorySystemSession session) |
public static ArtifactTypeRegistry newInstance(RepositorySystemSession session)
public static ArtifactTypeRegistry newInstance(ArtifactTypeRegistry delegate)
public ArtifactType get(String typeId)
ArtifactTypeRegistry
get
in interface ArtifactTypeRegistry
typeId
- The identifier of the type, must not be null
.null
if no type with the requested identifier exists.Copyright © 2010–2022 The Apache Software Foundation. All rights reserved.