public final class DefaultArtifactTypeRegistry extends Object
| Constructor and Description |
|---|
DefaultArtifactTypeRegistry()
Creates a new artifact type registry with initally no registered artifact types.
|
| Modifier and Type | Method and Description |
|---|---|
DefaultArtifactTypeRegistry |
add(ArtifactType type)
Adds the specified artifact type to the registry.
|
ArtifactType |
get(String typeId) |
String |
toString() |
public DefaultArtifactTypeRegistry()
add(ArtifactType)
to populate the registry.public DefaultArtifactTypeRegistry add(ArtifactType type)
type - The artifact type to add, must not be null.null.public ArtifactType get(String typeId)
get in interface ArtifactTypeRegistryCopyright © 2010–2021 The Apache Software Foundation. All rights reserved.