@Component(role=IndexCreator.class, hint="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, sobpublic static final String ID
public MavenArchetypeArtifactInfoIndexCreator()
public void populateArtifactInfo(ArtifactContext ac)
IndexCreatorArtifactContext with information about corresponding artifact.public void updateDocument(ArtifactInfo ai, org.apache.lucene.document.Document doc)
IndexCreatorDocument from a given ArtifactInfo.public boolean updateArtifactInfo(org.apache.lucene.document.Document doc,
ArtifactInfo ai)
IndexCreatorArtifactInfo from given Lucene Document.public Collection<IndexerField> getIndexerFields()
IndexCreatorCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.