Class DefaultArtifactTypeRegistry
java.lang.Object
org.eclipse.aether.util.artifact.DefaultArtifactTypeRegistry
- All Implemented Interfaces:
org.eclipse.aether.artifact.ArtifactTypeRegistry
A simple artifact type registry.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new artifact type registry with initally no registered artifact types. -
Method Summary
-
Constructor Details
-
DefaultArtifactTypeRegistry
public DefaultArtifactTypeRegistry()Creates a new artifact type registry with initally no registered artifact types. Useadd(ArtifactType)to populate the registry.
-
-
Method Details
-
add
Adds the specified artifact type to the registry.- Parameters:
type- The artifact type to add, must not benull.- Returns:
- This registry for chaining, never
null.
-
get
- Specified by:
getin interfaceorg.eclipse.aether.artifact.ArtifactTypeRegistry
-
toString
-