@Service(value="proxyConnectorService#rest") public class DefaultProxyConnectorService extends AbstractRestService implements ProxyConnectorService
Modifier and Type | Field and Description |
---|---|
private List<Policy> |
allPolicies |
archivaAdministration, config, httpServletRequest, httpServletResponse, log, managedRepositoryAdmin, proxyConnectorAdmin, repositoryContentFactory, repositorySessionFactory, repositoryTaskScheduler, userRepositories
Constructor and Description |
---|
DefaultProxyConnectorService(org.springframework.context.ApplicationContext applicationContext) |
Modifier and Type | Method and Description |
---|---|
Boolean |
addProxyConnector(ProxyConnector proxyConnector) |
Boolean |
deleteProxyConnector(ProxyConnector proxyConnector) |
List<PolicyInformation> |
getAllPolicyInformations() |
ProxyConnector |
getProxyConnector(String sourceRepoId,
String targetRepoId) |
ProxyConnectorAdmin |
getProxyConnectorAdmin() |
List<ProxyConnector> |
getProxyConnectors() |
Boolean |
removeProxyConnector(String sourceRepoId,
String targetRepoId) |
void |
setProxyConnectorAdmin(ProxyConnectorAdmin proxyConnectorAdmin) |
Boolean |
updateProxyConnector(ProxyConnector proxyConnector)
only for enabled/disable or changing bean values except target/source
|
buildArtifacts, doScanRepository, getArtifactUrl, getArtifactUrl, getAuditInformation, getAuditListeners, getBaseUrl, getBeansOfType, getModelMapper, getObservableRepos, getPrincipal, setAuditListeners, triggerAuditEvent
private List<Policy> allPolicies
@Inject public DefaultProxyConnectorService(org.springframework.context.ApplicationContext applicationContext)
public List<ProxyConnector> getProxyConnectors() throws ArchivaRestServiceException
getProxyConnectors
in interface ProxyConnectorService
ArchivaRestServiceException
public ProxyConnector getProxyConnector(String sourceRepoId, String targetRepoId) throws ArchivaRestServiceException
getProxyConnector
in interface ProxyConnectorService
ArchivaRestServiceException
public Boolean addProxyConnector(ProxyConnector proxyConnector) throws ArchivaRestServiceException
addProxyConnector
in interface ProxyConnectorService
ArchivaRestServiceException
public Boolean deleteProxyConnector(ProxyConnector proxyConnector) throws ArchivaRestServiceException
deleteProxyConnector
in interface ProxyConnectorService
ArchivaRestServiceException
public Boolean removeProxyConnector(String sourceRepoId, String targetRepoId) throws ArchivaRestServiceException
removeProxyConnector
in interface ProxyConnectorService
ArchivaRestServiceException
public Boolean updateProxyConnector(ProxyConnector proxyConnector) throws ArchivaRestServiceException
ProxyConnectorService
updateProxyConnector
in interface ProxyConnectorService
ArchivaRestServiceException
public List<PolicyInformation> getAllPolicyInformations() throws ArchivaRestServiceException
getAllPolicyInformations
in interface ProxyConnectorService
ArchivaRestServiceException
public ProxyConnectorAdmin getProxyConnectorAdmin()
public void setProxyConnectorAdmin(ProxyConnectorAdmin proxyConnectorAdmin)
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.