org.apache.maven.index
Class DefaultIndexerEngine

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.maven.index.DefaultIndexerEngine
All Implemented Interfaces:
IndexerEngine, org.codehaus.plexus.logging.LogEnabled

@Component(role=IndexerEngine.class)
public class DefaultIndexerEngine
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements IndexerEngine

A default IndexerEngine implementation.

Author:
Tamas Cservenak

Constructor Summary
DefaultIndexerEngine()
           
 
Method Summary
 void index(IndexingContext context, ArtifactContext ac)
          Add new artifact to the index
 void remove(IndexingContext context, ArtifactContext ac)
          Remove artifact to the index
 void update(IndexingContext context, ArtifactContext ac)
          Replace data for a previously indexed artifact
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultIndexerEngine

public DefaultIndexerEngine()
Method Detail

index

public void index(IndexingContext context,
                  ArtifactContext ac)
           throws IOException
Description copied from interface: IndexerEngine
Add new artifact to the index

Specified by:
index in interface IndexerEngine
Throws:
IOException

update

public void update(IndexingContext context,
                   ArtifactContext ac)
            throws IOException
Description copied from interface: IndexerEngine
Replace data for a previously indexed artifact

Specified by:
update in interface IndexerEngine
Throws:
IOException

remove

public void remove(IndexingContext context,
                   ArtifactContext ac)
            throws IOException
Description copied from interface: IndexerEngine
Remove artifact to the index

Specified by:
remove in interface IndexerEngine
Throws:
IOException


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.