Package org.apache.maven.index
Class ArtifactContext
java.lang.Object
org.apache.maven.index.ArtifactContext
An artifact context used to provide information about artifact during scanning. It is passed to the
 
IndexCreator, which can populate ArtifactInfo for the given artifact.- Author:
 - Jason van Zyl, Tamas Cservenak
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionArtifactContext(File pom, File artifact, File metadata, ArtifactInfo artifactInfo, Gav gav)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidorg.apache.lucene.document.DocumentcreateDocument(IndexingContext context) Creates Lucene Document usingIndexCreators from the givenIndexingContext.getGav()getPom()org.apache.maven.model.Model 
- 
Constructor Details
- 
ArtifactContext
public ArtifactContext(File pom, File artifact, File metadata, ArtifactInfo artifactInfo, Gav gav) throws IllegalArgumentException - Throws:
 IllegalArgumentException
 
 - 
 - 
Method Details
- 
getPom
 - 
getPomModel
public org.apache.maven.model.Model getPomModel() - 
getArtifact
 - 
getMetadata
 - 
getArtifactInfo
 - 
getGav
 - 
getErrors
 - 
addError
 - 
createDocument
Creates Lucene Document usingIndexCreators from the givenIndexingContext. 
 -