View Javadoc
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.repository;
12  
13  /**
14   * A repository hosting artifacts.
15   * 
16   * @noimplement This interface is not intended to be implemented by clients.
17   * @noextend This interface is not intended to be extended by clients.
18   */
19  public interface ArtifactRepository
20  {
21  
22      /**
23       * Gets the type of the repository, for example "default".
24       * 
25       * @return The (case-sensitive) type of the repository, never {@code null}.
26       */
27      String getContentType();
28  
29      /**
30       * Gets the identifier of this repository.
31       * 
32       * @return The (case-sensitive) identifier, never {@code null}.
33       */
34      String getId();
35  
36  }