public abstract class AbstractRepositoryAdmin extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
AbstractRepositoryAdmin.ModelMapperHolder |
Modifier and Type | Field and Description |
---|---|
private ArchivaConfiguration |
archivaConfiguration |
private List<AuditListener> |
auditListeners |
protected org.slf4j.Logger |
log |
private org.apache.archiva.redback.components.registry.Registry |
registry |
private RepositoryCommonValidator |
repositoryCommonValidator |
Constructor and Description |
---|
AbstractRepositoryAdmin() |
Modifier and Type | Method and Description |
---|---|
ArchivaConfiguration |
getArchivaConfiguration() |
List<AuditListener> |
getAuditListeners() |
protected org.modelmapper.ModelMapper |
getModelMapper() |
org.apache.archiva.redback.components.registry.Registry |
getRegistry() |
RepositoryCommonValidator |
getRepositoryCommonValidator() |
protected void |
saveConfiguration(Configuration config) |
void |
setArchivaConfiguration(ArchivaConfiguration archivaConfiguration) |
void |
setAuditListeners(List<AuditListener> auditListeners) |
void |
setRegistry(org.apache.archiva.redback.components.registry.Registry registry) |
void |
setRepositoryCommonValidator(RepositoryCommonValidator repositoryCommonValidator) |
protected void |
triggerAuditEvent(String repositoryId,
String resource,
String action,
AuditInformation auditInformation) |
protected org.slf4j.Logger log
@Inject @Autowired(required=false) private List<AuditListener> auditListeners
@Inject private RepositoryCommonValidator repositoryCommonValidator
@Inject private ArchivaConfiguration archivaConfiguration
@Inject @Named(value="commons-configuration") private org.apache.archiva.redback.components.registry.Registry registry
public AbstractRepositoryAdmin()
protected void triggerAuditEvent(String repositoryId, String resource, String action, AuditInformation auditInformation)
protected void saveConfiguration(Configuration config) throws RepositoryAdminException
RepositoryAdminException
protected org.modelmapper.ModelMapper getModelMapper()
public List<AuditListener> getAuditListeners()
public void setAuditListeners(List<AuditListener> auditListeners)
public void setArchivaConfiguration(ArchivaConfiguration archivaConfiguration)
public ArchivaConfiguration getArchivaConfiguration()
public RepositoryCommonValidator getRepositoryCommonValidator()
public void setRepositoryCommonValidator(RepositoryCommonValidator repositoryCommonValidator)
public org.apache.archiva.redback.components.registry.Registry getRegistry()
public void setRegistry(org.apache.archiva.redback.components.registry.Registry registry)
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.