public abstract class AbstractRepository extends Object implements Repository
Repository that does nothing.Repository.ConfigurationPropertyProviderPROPERTY_MAVEN_REPOSITORY_BASE_URLS, PROPERTY_REPOSITORY_STORAGE_DIR, PROPERTY_REPOSITORY_STORAGE_FILE| Constructor and Description |
|---|
AbstractRepository() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
adapt(Class<T> type) |
Map<org.jboss.gravia.resource.Requirement,Collection<org.jboss.gravia.resource.Capability>> |
findProviders(Collection<org.jboss.gravia.resource.Requirement> reqs)
Find the capabilities that match the specified requirements.
|
String |
getName()
Get the name for this repository
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindProviderspublic String getName()
RepositorygetName in interface Repositorypublic <T> T adapt(Class<T> type)
adapt in interface org.jboss.gravia.resource.Adaptablepublic Map<org.jboss.gravia.resource.Requirement,Collection<org.jboss.gravia.resource.Capability>> findProviders(Collection<org.jboss.gravia.resource.Requirement> reqs)
RepositoryfindProviders in interface Repositoryreqs - The requirements for which matching capabilities
should be returned. Must not be null.Copyright © 2013 JBoss by Red Hat. All Rights Reserved.