public final class OverlayArtifactTypeRegistry extends java.lang.Object
| Constructor | 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 | Description |
|---|---|---|
OverlayArtifactTypeRegistry |
add(org.eclipse.aether.artifact.ArtifactType type) |
Adds the specified artifact type to the registry.
|
org.eclipse.aether.artifact.ArtifactType |
get(java.lang.String typeId) |
|
java.lang.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(java.lang.String typeId)
public java.lang.String toString()
toString in class java.lang.Object