public final class DefaultArtifactTypeRegistry extends Object
Constructor and Description |
---|
DefaultArtifactTypeRegistry()
Creates a new artifact type registry with initally no registered artifact types.
|
public DefaultArtifactTypeRegistry()
add(ArtifactType)
to populate the registry.public DefaultArtifactTypeRegistry add(org.eclipse.aether.artifact.ArtifactType type)
type
- The artifact type to add, must not be null
.null
.public org.eclipse.aether.artifact.ArtifactType get(String typeId)
get
in interface org.eclipse.aether.artifact.ArtifactTypeRegistry
Copyright © 2010–2018 The Apache Software Foundation. All rights reserved.