@Service(value="mergeRepositoriesService#rest") public class DefaultMergeRepositoriesService extends AbstractRestService implements MergeRepositoriesService
archivaAdministration, config, httpServletRequest, httpServletResponse, log, proxyConnectorAdmin, repositorySessionFactory, repositoryTaskScheduler, userRepositories
Constructor and Description |
---|
DefaultMergeRepositoriesService() |
Modifier and Type | Method and Description |
---|---|
protected void |
doMerge(RepositoryMerger merger,
String sourceRepositoryId,
String targetRepositoryId) |
List<Artifact> |
getMergeConflictedArtifacts(String sourceRepositoryId,
String targetRepositoryId)
permissions are checked in impl
|
void |
mergeRepositories(String sourceRepositoryId,
String targetRepositoryId,
boolean skipConflicts)
permissions are checked in impl
|
buildArtifacts, doScanRepository, getArtifactUrl, getArtifactUrl, getAuditInformation, getAuditListeners, getBaseUrl, getBeansOfType, getModelMapper, getObservableRepos, getPrincipal, setAuditListeners, triggerAuditEvent
public DefaultMergeRepositoriesService()
public List<Artifact> getMergeConflictedArtifacts(String sourceRepositoryId, String targetRepositoryId) throws ArchivaRestServiceException
MergeRepositoriesService
getMergeConflictedArtifacts
in interface MergeRepositoriesService
ArchivaRestServiceException
public void mergeRepositories(String sourceRepositoryId, String targetRepositoryId, boolean skipConflicts) throws ArchivaRestServiceException
MergeRepositoriesService
mergeRepositories
in interface MergeRepositoriesService
ArchivaRestServiceException
protected void doMerge(RepositoryMerger merger, String sourceRepositoryId, String targetRepositoryId) throws RepositoryMergerException, ArchivaRestServiceException
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.