@Service(value="proxyConnectorRuleService#rest") public class DefaultProxyConnectorRuleService extends AbstractRestService implements ProxyConnectorRuleService
archivaAdministration, config, httpServletRequest, httpServletResponse, log, proxyConnectorAdmin, repositoryRegistry, repositorySessionFactory, repositoryTaskScheduler, userRepositories
Constructor and Description |
---|
DefaultProxyConnectorRuleService() |
Modifier and Type | Method and Description |
---|---|
Boolean |
addProxyConnectorRule(ProxyConnectorRule proxyConnectorRule) |
Boolean |
deleteProxyConnectorRule(ProxyConnectorRule proxyConnectorRule) |
List<ProxyConnectorRule> |
getProxyConnectorRules() |
Boolean |
updateProxyConnectorRule(ProxyConnectorRule proxyConnectorRule)
only to update attached proxy connectors to update pattern use delete then add
|
buildArtifacts, doScanRepository, getArtifactUrl, getArtifactUrl, getAuditInformation, getAuditListeners, getBaseUrl, getBeansOfType, getModelMapper, getObservableRepos, getPrincipal, setAuditListeners, triggerAuditEvent
public DefaultProxyConnectorRuleService()
public List<ProxyConnectorRule> getProxyConnectorRules() throws ArchivaRestServiceException
getProxyConnectorRules
in interface ProxyConnectorRuleService
ArchivaRestServiceException
public Boolean addProxyConnectorRule(ProxyConnectorRule proxyConnectorRule) throws ArchivaRestServiceException
addProxyConnectorRule
in interface ProxyConnectorRuleService
ArchivaRestServiceException
public Boolean deleteProxyConnectorRule(ProxyConnectorRule proxyConnectorRule) throws ArchivaRestServiceException
deleteProxyConnectorRule
in interface ProxyConnectorRuleService
ArchivaRestServiceException
public Boolean updateProxyConnectorRule(ProxyConnectorRule proxyConnectorRule) throws ArchivaRestServiceException
ProxyConnectorRuleService
updateProxyConnectorRule
in interface ProxyConnectorRuleService
ArchivaRestServiceException
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.