org.sonatype.aether.repository
Interface ArtifactRepository

All Known Implementing Classes:
LocalRepository, RemoteRepository, WorkspaceRepository

public interface ArtifactRepository

A repository hosting artifacts.

Author:
Benjamin Bentmann

Method Summary
 String getContentType()
          Gets the type of the repository, for example "default".
 String getId()
          Gets the identifier of this repository.
 

Method Detail

getContentType

String getContentType()
Gets the type of the repository, for example "default".

Returns:
The (case-sensitive) type of the repository, never null.

getId

String getId()
Gets the identifier of this repository.

Returns:
The (case-sensitive) identifier, never null.


Copyright © 2010-2011 Sonatype, Inc.. All Rights Reserved.