Package org.apache.maven.index
Class DefaultIndexerEngine
- java.lang.Object
-
- org.apache.maven.index.DefaultIndexerEngine
-
- All Implemented Interfaces:
IndexerEngine
@Singleton @Named public class DefaultIndexerEngine extends java.lang.Object implements IndexerEngine
A defaultIndexerEngineimplementation.- Author:
- Tamas Cservenak
-
-
Constructor Summary
Constructors Constructor Description DefaultIndexerEngine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidindex(IndexingContext context, ArtifactContext ac)Add new artifact to the indexvoidremove(IndexingContext context, ArtifactContext ac)Remove artifact to the indexvoidupdate(IndexingContext context, ArtifactContext ac)Replace data for a previously indexed artifact
-
-
-
Method Detail
-
index
public void index(IndexingContext context, ArtifactContext ac) throws java.io.IOException
Description copied from interface:IndexerEngineAdd new artifact to the index- Specified by:
indexin interfaceIndexerEngine- Throws:
java.io.IOException
-
update
public void update(IndexingContext context, ArtifactContext ac) throws java.io.IOException
Description copied from interface:IndexerEngineReplace data for a previously indexed artifact- Specified by:
updatein interfaceIndexerEngine- Throws:
java.io.IOException
-
remove
public void remove(IndexingContext context, ArtifactContext ac) throws java.io.IOException
Description copied from interface:IndexerEngineRemove artifact to the index- Specified by:
removein interfaceIndexerEngine- Throws:
java.io.IOException
-
-