org.apache.geronimo.kernel.repository
Interface ListableRepository

All Superinterfaces:
Repository
All Known Subinterfaces:
WritableListableRepository
All Known Implementing Classes:
Maven1Repository, Maven1Repository, Maven2Repository, Maven2Repository, Maven2RepositoryAdapter

public interface ListableRepository
extends Repository

For repositories that can provide a list of their contents. Normally local ones can handle it, but remote ones may or may not implement this.


Method Summary
 SortedSet list()
          Gets a set (with entries of type Artifact) of all the items available in the repository.
 SortedSet list(Artifact query)
          Gets a set (with entries of type Artifact) of all the available items matching the specified artifact, which is normally not fully resolved (so the results all match whatever fields are specified on the argument Artifact).
 
Methods inherited from interface org.apache.geronimo.kernel.repository.Repository
contains, getDependencies, getLocation
 

Method Detail

list

SortedSet list()
Gets a set (with entries of type Artifact) of all the items available in the repository.


list

SortedSet list(Artifact query)
Gets a set (with entries of type Artifact) of all the available items matching the specified artifact, which is normally not fully resolved (so the results all match whatever fields are specified on the argument Artifact).



Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.