@Singleton @Named(value="maven-archetype") public class MavenArchetypeArtifactInfoIndexCreator extends AbstractIndexCreator
Constructor and Description |
---|
MavenArchetypeArtifactInfoIndexCreator() |
Modifier and Type | Method and Description |
---|---|
Collection<IndexerField> |
getIndexerFields()
Returns the indexer fields that this IndexCreator introduces to index.
|
void |
populateArtifactInfo(ArtifactContext ac)
Populate an
ArtifactContext with information about corresponding artifact. |
String |
toString() |
boolean |
updateArtifactInfo(org.apache.lucene.document.Document doc,
ArtifactInfo ai)
Update an
ArtifactInfo from given Lucene Document . |
void |
updateDocument(ArtifactInfo ai,
org.apache.lucene.document.Document doc)
Update Lucene
Document from a given ArtifactInfo . |
bos, getCreatorDependencies, getId, getLogger, sob
public static final String ID
public MavenArchetypeArtifactInfoIndexCreator()
public void populateArtifactInfo(ArtifactContext ac)
IndexCreator
ArtifactContext
with information about corresponding artifact.public void updateDocument(ArtifactInfo ai, org.apache.lucene.document.Document doc)
IndexCreator
Document
from a given ArtifactInfo
.public boolean updateArtifactInfo(org.apache.lucene.document.Document doc, ArtifactInfo ai)
IndexCreator
ArtifactInfo
from given Lucene Document
.public Collection<IndexerField> getIndexerFields()
IndexCreator
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.