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