org.apache.maven.index
Interface IndexerEngine

All Known Implementing Classes:
DefaultIndexerEngine

public interface IndexerEngine

An indexer engine used to index, update and remote artifacts to the indexing context.


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
 

Method Detail

index

void index(IndexingContext context,
           ArtifactContext ac)
           throws IOException
Add new artifact to the index

Throws:
IOException

update

void update(IndexingContext context,
            ArtifactContext ac)
            throws IOException
Replace data for a previously indexed artifact

Throws:
IOException

remove

void remove(IndexingContext context,
            ArtifactContext ac)
            throws IOException
Remove artifact to the index

Throws:
IOException


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