@Service(value="taskExecutor#indexing") public class ArchivaIndexingTaskExecutor extends Object implements org.apache.archiva.components.taskqueue.execution.TaskExecutor
Constructor and Description |
---|
ArchivaIndexingTaskExecutor() |
Modifier and Type | Method and Description |
---|---|
void |
executeTask(org.apache.archiva.components.taskqueue.Task task)
depending on current
Task you have. |
void |
setIndexPacker(org.apache.maven.index.packer.IndexPacker indexPacker) |
public ArchivaIndexingTaskExecutor()
public void executeTask(org.apache.archiva.components.taskqueue.Task task) throws org.apache.archiva.components.taskqueue.execution.TaskExecutionException
Task
you have.
If ArtifactIndexingTask.Action.FINISH
&& isExecuteOnEntireRepo:
repository will be scanned.executeTask
in interface org.apache.archiva.components.taskqueue.execution.TaskExecutor
task
- org.apache.archiva.components.taskqueue.execution.TaskExecutionException
public void setIndexPacker(org.apache.maven.index.packer.IndexPacker indexPacker)
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.