public final class OverlayArtifactTypeRegistry extends Object
Constructor and Description |
---|
OverlayArtifactTypeRegistry(org.eclipse.aether.artifact.ArtifactTypeRegistry delegate)
Creates a new artifact type registry with initially no registered artifact types and the specified fallback
registry.
|
public OverlayArtifactTypeRegistry(org.eclipse.aether.artifact.ArtifactTypeRegistry delegate)
add(ArtifactType)
to populate the registry.delegate
- The artifact type registry to fall back to, may be null
.public OverlayArtifactTypeRegistry 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.