@Service(value="proxyConnectorRuleService#rest") public class DefaultProxyConnectorRuleService extends AbstractRestService implements ProxyConnectorRuleService
Modifier and Type | Field and Description |
---|---|
private ProxyConnectorRuleAdmin |
proxyConnectorRuleAdmin |
archivaAdministration, config, httpServletRequest, httpServletResponse, log, managedRepositoryAdmin, proxyConnectorAdmin, repositoryContentFactory, 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
|
private void |
validateProxyConnectorRule(ProxyConnectorRule proxyConnectorRule) |
buildArtifacts, doScanRepository, getArtifactUrl, getArtifactUrl, getAuditInformation, getAuditListeners, getBaseUrl, getBeansOfType, getModelMapper, getObservableRepos, getPrincipal, setAuditListeners, triggerAuditEvent
@Inject private ProxyConnectorRuleAdmin proxyConnectorRuleAdmin
public DefaultProxyConnectorRuleService()
public List<ProxyConnectorRule> getProxyConnectorRules() throws ArchivaRestServiceException
getProxyConnectorRules
in interface ProxyConnectorRuleService
ArchivaRestServiceException
private void validateProxyConnectorRule(ProxyConnectorRule proxyConnectorRule) throws ArchivaRestServiceException
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–2022 The Apache Software Foundation. All rights reserved.