org.mule.devkit.nexus
Class PluginIndexCreator

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.maven.index.creator.AbstractIndexCreator
          extended by org.mule.devkit.nexus.PluginIndexCreator
All Implemented Interfaces:
org.apache.maven.index.context.IndexCreator, org.codehaus.plexus.logging.LogEnabled

@Component(role=org.apache.maven.index.context.IndexCreator.class,
           hint="mule-devkit-index")
public class PluginIndexCreator
extends org.apache.maven.index.creator.AbstractIndexCreator
implements org.codehaus.plexus.logging.LogEnabled


Field Summary
static org.apache.maven.index.IndexerField FLD_IS_PLUGIN
           
static String ID
           
 
Constructor Summary
PluginIndexCreator()
           
 
Method Summary
 void enableLogging(org.codehaus.plexus.logging.Logger logger)
           
 Collection<org.apache.maven.index.IndexerField> getIndexerFields()
           
 void populateArtifactInfo(org.apache.maven.index.ArtifactContext artifactContext)
           
 String toString()
           
 boolean updateArtifactInfo(org.apache.lucene.document.Document doc, org.apache.maven.index.ArtifactInfo artifactInfo)
           
 void updateDocument(org.apache.maven.index.ArtifactInfo ai, org.apache.lucene.document.Document doc)
           
 
Methods inherited from class org.apache.maven.index.creator.AbstractIndexCreator
bos, getCreatorDependencies, getId, sob
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

public static final String ID
See Also:
Constant Field Values

FLD_IS_PLUGIN

public static final org.apache.maven.index.IndexerField FLD_IS_PLUGIN
Constructor Detail

PluginIndexCreator

public PluginIndexCreator()
Method Detail

enableLogging

public void enableLogging(org.codehaus.plexus.logging.Logger logger)
Specified by:
enableLogging in interface org.codehaus.plexus.logging.LogEnabled
Overrides:
enableLogging in class org.codehaus.plexus.logging.AbstractLogEnabled

populateArtifactInfo

public void populateArtifactInfo(org.apache.maven.index.ArtifactContext artifactContext)
                          throws IOException
Specified by:
populateArtifactInfo in interface org.apache.maven.index.context.IndexCreator
Throws:
IOException

updateDocument

public void updateDocument(org.apache.maven.index.ArtifactInfo ai,
                           org.apache.lucene.document.Document doc)
Specified by:
updateDocument in interface org.apache.maven.index.context.IndexCreator

updateArtifactInfo

public boolean updateArtifactInfo(org.apache.lucene.document.Document doc,
                                  org.apache.maven.index.ArtifactInfo artifactInfo)
Specified by:
updateArtifactInfo in interface org.apache.maven.index.context.IndexCreator

toString

public String toString()
Overrides:
toString in class Object

getIndexerFields

public Collection<org.apache.maven.index.IndexerField> getIndexerFields()
Specified by:
getIndexerFields in interface org.apache.maven.index.context.IndexCreator


Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.