public final class DefaultArtifactTypeRegistry extends SimpleArtifactTypeRegistry
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.
|
get, toString
public DefaultArtifactTypeRegistry()
add(ArtifactType)
to populate the registry.public DefaultArtifactTypeRegistry add(ArtifactType type)
add
in class SimpleArtifactTypeRegistry
type
- The artifact type to add, must not be null
.null
.