@Service(value="taskExecutor#repository-scanning") public class ArchivaRepositoryScanningTaskExecutor extends Object implements org.apache.archiva.components.taskqueue.execution.TaskExecutor<RepositoryTask>
Constructor and Description |
---|
ArchivaRepositoryScanningTaskExecutor() |
Modifier and Type | Method and Description |
---|---|
void |
executeTask(RepositoryTask task) |
RepositoryContentConsumers |
getConsumers() |
org.apache.archiva.components.taskqueue.Task |
getCurrentTaskInExecution() |
ManagedRepositoryAdmin |
getManagedRepositoryAdmin() |
RepositoryScanner |
getRepoScanner() |
RepositorySessionFactory |
getRepositorySessionFactory() |
RepositoryStatisticsManager |
getRepositoryStatisticsManager() |
void |
initialize() |
void |
setConsumers(RepositoryContentConsumers consumers) |
void |
setManagedRepositoryAdmin(ManagedRepositoryAdmin managedRepositoryAdmin) |
void |
setRepoScanner(RepositoryScanner repoScanner) |
void |
setRepositorySessionFactory(RepositorySessionFactory repositorySessionFactory) |
void |
setRepositoryStatisticsManager(RepositoryStatisticsManager repositoryStatisticsManager) |
public ArchivaRepositoryScanningTaskExecutor()
@PostConstruct public void initialize()
public void executeTask(RepositoryTask task) throws org.apache.archiva.components.taskqueue.execution.TaskExecutionException
executeTask
in interface org.apache.archiva.components.taskqueue.execution.TaskExecutor<RepositoryTask>
org.apache.archiva.components.taskqueue.execution.TaskExecutionException
public org.apache.archiva.components.taskqueue.Task getCurrentTaskInExecution()
public RepositoryScanner getRepoScanner()
public void setRepoScanner(RepositoryScanner repoScanner)
public RepositoryContentConsumers getConsumers()
public void setConsumers(RepositoryContentConsumers consumers)
public RepositorySessionFactory getRepositorySessionFactory()
public void setRepositorySessionFactory(RepositorySessionFactory repositorySessionFactory)
public RepositoryStatisticsManager getRepositoryStatisticsManager()
public void setRepositoryStatisticsManager(RepositoryStatisticsManager repositoryStatisticsManager)
public ManagedRepositoryAdmin getManagedRepositoryAdmin()
public void setManagedRepositoryAdmin(ManagedRepositoryAdmin managedRepositoryAdmin)
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.