@Singleton @Named(value="maven-plugin") public class MavenPluginArtifactInfoIndexCreator extends AbstractIndexCreator
| Modifier and Type | Field and Description |
|---|---|
static IndexerField |
FLD_PLUGIN_GOALS |
static IndexerField |
FLD_PLUGIN_PREFIX |
static String |
ID |
| Constructor and Description |
|---|
MavenPluginArtifactInfoIndexCreator() |
| 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, sobpublic static final String ID
public static final IndexerField FLD_PLUGIN_PREFIX
public static final IndexerField FLD_PLUGIN_GOALS
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–2022 The Apache Software Foundation. All rights reserved.