@Service(value="remoteRepositoryAdmin#default") public class DefaultRemoteRepositoryAdmin extends AbstractRepositoryAdmin implements RemoteRepositoryAdmin
log
Constructor and Description |
---|
DefaultRemoteRepositoryAdmin() |
Modifier and Type | Method and Description |
---|---|
Boolean |
addRemoteRepository(RemoteRepository remoteRepository,
AuditInformation auditInformation) |
org.apache.maven.index.context.IndexingContext |
createIndexContext(RemoteRepository remoteRepository) |
Boolean |
deleteRemoteRepository(String repositoryId,
AuditInformation auditInformation) |
List<RemoteRepository> |
getRemoteRepositories() |
Map<String,RemoteRepository> |
getRemoteRepositoriesAsMap() |
RemoteRepository |
getRemoteRepository(String repositoryId) |
Boolean |
updateRemoteRepository(RemoteRepository remoteRepository,
AuditInformation auditInformation) |
convertUriToString, getArchivaConfiguration, getAuditListeners, getModelMapper, getRegistry, getRepositoryCommonValidator, saveConfiguration, setArchivaConfiguration, setAuditListeners, setBaseRepoAttributes, setBaseRepoAttributes, setRegistry, setRepositoryCommonValidator, triggerAuditEvent
public DefaultRemoteRepositoryAdmin()
public List<RemoteRepository> getRemoteRepositories() throws RepositoryAdminException
getRemoteRepositories
in interface RemoteRepositoryAdmin
RepositoryAdminException
public RemoteRepository getRemoteRepository(String repositoryId) throws RepositoryAdminException
getRemoteRepository
in interface RemoteRepositoryAdmin
RepositoryAdminException
public Boolean addRemoteRepository(RemoteRepository remoteRepository, AuditInformation auditInformation) throws RepositoryAdminException
addRemoteRepository
in interface RemoteRepositoryAdmin
RepositoryAdminException
public Boolean deleteRemoteRepository(String repositoryId, AuditInformation auditInformation) throws RepositoryAdminException
deleteRemoteRepository
in interface RemoteRepositoryAdmin
RepositoryAdminException
public Boolean updateRemoteRepository(RemoteRepository remoteRepository, AuditInformation auditInformation) throws RepositoryAdminException
updateRemoteRepository
in interface RemoteRepositoryAdmin
RepositoryAdminException
public Map<String,RemoteRepository> getRemoteRepositoriesAsMap() throws RepositoryAdminException
getRemoteRepositoriesAsMap
in interface RemoteRepositoryAdmin
RepositoryAdminException
public org.apache.maven.index.context.IndexingContext createIndexContext(RemoteRepository remoteRepository) throws RepositoryAdminException
createIndexContext
in interface RemoteRepositoryAdmin
RepositoryAdminException
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.