Package org.eclipse.aether.util.artifact
Class DefaultArtifactTypeRegistry
java.lang.Object
org.eclipse.aether.util.artifact.SimpleArtifactTypeRegistry
org.eclipse.aether.util.artifact.DefaultArtifactTypeRegistry
- All Implemented Interfaces:
ArtifactTypeRegistry
A simple artifact type registry.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new artifact type registry with initally no registered artifact types. -
Method Summary
Modifier and TypeMethodDescriptionadd
(ArtifactType type) Adds the specified artifact type to the registry.Methods inherited from class org.eclipse.aether.util.artifact.SimpleArtifactTypeRegistry
get, toString
-
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.- Overrides:
add
in classSimpleArtifactTypeRegistry
- Parameters:
type
- The artifact type to add, must not benull
.- Returns:
- This registry for chaining, never
null
.
-