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.
|
| Modifier and Type | Method and Description |
|---|---|
OverlayArtifactTypeRegistry |
add(org.eclipse.aether.artifact.ArtifactType type)
Adds the specified artifact type to the registry.
|
org.eclipse.aether.artifact.ArtifactType |
get(String typeId) |
String |
toString() |
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.ArtifactTypeRegistryCopyright © 2010–2022 The Apache Software Foundation. All rights reserved.