1 package org.sonatype.aether.artifact;
2
3 /*******************************************************************************
4 * Copyright (c) 2010-2011 Sonatype, Inc.
5 * All rights reserved. This program and the accompanying materials
6 * are made available under the terms of the Eclipse Public License v1.0
7 * which accompanies this distribution, and is available at
8 * http://www.eclipse.org/legal/epl-v10.html
9 *******************************************************************************/
10
11 /**
12 * A registry of known artifact types.
13 *
14 * @author Benjamin Bentmann
15 */
16 public interface ArtifactTypeRegistry
17 {
18
19 /**
20 * Gets the artifact type with the specified identifier.
21 *
22 * @param typeId The identifier of the type, must not be {@code null}.
23 * @return The artifact type or {@code null} if no type with the requested identifier exists.
24 */
25 ArtifactType get( String typeId );
26
27 }