Package org.apache.maven.index.util
Class SpoofIndexCreator
java.lang.Object
org.apache.maven.index.creator.AbstractIndexCreator
org.apache.maven.index.util.SpoofIndexCreator
- All Implemented Interfaces:
org.apache.maven.index.context.IndexCreator
public class SpoofIndexCreator
extends org.apache.maven.index.creator.AbstractIndexCreator
-
Constructor Summary
ModifierConstructorDescriptionprotected
SpoofIndexCreator
(String id, List<String> creatorDependencies) -
Method Summary
Modifier and TypeMethodDescriptionCollection
<org.apache.maven.index.IndexerField> void
populateArtifactInfo
(org.apache.maven.index.ArtifactContext artifactContext) boolean
updateArtifactInfo
(org.apache.lucene.document.Document document, org.apache.maven.index.ArtifactInfo artifactInfo) void
updateDocument
(org.apache.maven.index.ArtifactInfo artifactInfo, org.apache.lucene.document.Document document) Methods inherited from class org.apache.maven.index.creator.AbstractIndexCreator
bos, getCreatorDependencies, getId, getLogger, sob
-
Constructor Details
-
SpoofIndexCreator
-
-
Method Details
-
getIndexerFields
-
populateArtifactInfo
public void populateArtifactInfo(org.apache.maven.index.ArtifactContext artifactContext) throws IOException - Throws:
IOException
-
updateDocument
public void updateDocument(org.apache.maven.index.ArtifactInfo artifactInfo, org.apache.lucene.document.Document document) -
updateArtifactInfo
public boolean updateArtifactInfo(org.apache.lucene.document.Document document, org.apache.maven.index.ArtifactInfo artifactInfo)
-