@Component(role=IndexCreator.class, hint="maven-plugin") public class MavenPluginArtifactInfoIndexCreator extends AbstractIndexCreator
| Modifier and Type | Field and Description |
|---|---|
static IndexerField |
FLD_PLUGIN_GOALS |
static IndexerField |
FLD_PLUGIN_PREFIX |
static java.lang.String |
ID |
private static java.lang.String |
MAVEN_PLUGIN_PACKAGING |
| Constructor and Description |
|---|
MavenPluginArtifactInfoIndexCreator() |
| Modifier and Type | Method and Description |
|---|---|
private void |
checkMavenPlugin(ArtifactInfo ai,
java.io.File artifact) |
java.util.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. |
java.lang.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 java.lang.String ID
private static final java.lang.String MAVEN_PLUGIN_PACKAGING
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.private void checkMavenPlugin(ArtifactInfo ai, java.io.File 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 java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Collection<IndexerField> getIndexerFields()
IndexCreator