public final class DefaultArtifactTypeRegistry extends java.lang.Object
| Constructor | Description |
|---|---|
DefaultArtifactTypeRegistry() |
Creates a new artifact type registry with initally no registered artifact types.
|
| Modifier and Type | Method | Description |
|---|---|---|
DefaultArtifactTypeRegistry |
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 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(java.lang.String typeId)
get in interface org.eclipse.aether.artifact.ArtifactTypeRegistrypublic java.lang.String toString()
toString in class java.lang.Object