This project has retired. For details please refer to its
Attic page .
ArchivaIndexingTaskExecutor
org.apache.maven.archiva.scheduled.executors
Class ArchivaIndexingTaskExecutor
java.lang.Object
org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
All Implemented Interfaces: org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable, org.codehaus.plexus.taskqueue.execution.TaskExecutor
public class ArchivaIndexingTaskExecutor extends java.lang.Objectimplements org.codehaus.plexus.taskqueue.execution.TaskExecutor, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
ArchivaIndexingTaskExecutor Executes all indexing tasks. Adding, updating and removing artifacts from the index are
all performed by this executor. Add and update artifact in index tasks are added in the indexing task queue by the
NexusIndexerConsumer while remove artifact from index tasks are added by the LuceneCleanupRemoveIndexedConsumer.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ArchivaIndexingTaskExecutor
public ArchivaIndexingTaskExecutor ()
executeTask
public void executeTask (org.codehaus.plexus.taskqueue.Task task)
throws org.codehaus.plexus.taskqueue.execution.TaskExecutionException
Specified by: executeTask
in interface org.codehaus.plexus.taskqueue.execution.TaskExecutor
Throws:
org.codehaus.plexus.taskqueue.execution.TaskExecutionException
initialize
public void initialize ()
throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
Specified by: initialize
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
Throws:
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
setIndexerEngine
public void setIndexerEngine (org.sonatype.nexus.index.IndexerEngine indexerEngine)
setIndexPacker
public void setIndexPacker (org.sonatype.nexus.index.packer.IndexPacker indexPacker)