Class DefaultArtifactTypeRegistry

java.lang.Object
org.eclipse.aether.util.artifact.DefaultArtifactTypeRegistry
All Implemented Interfaces:
org.eclipse.aether.artifact.ArtifactTypeRegistry

public final class DefaultArtifactTypeRegistry extends Object
A simple artifact type registry.
  • Constructor Details

  • Method Details

    • add

      public DefaultArtifactTypeRegistry add(org.eclipse.aether.artifact.ArtifactType type)
      Adds the specified artifact type to the registry.
      Parameters:
      type - The artifact type to add, must not be null.
      Returns:
      This registry for chaining, never null.
    • get

      public org.eclipse.aether.artifact.ArtifactType get(String typeId)
      Specified by:
      get in interface org.eclipse.aether.artifact.ArtifactTypeRegistry
    • toString

      public String toString()
      Overrides:
      toString in class Object