Package org.apache.maven.index
Class DefaultArtifactContextProducer
java.lang.Object
org.apache.maven.index.DefaultArtifactContextProducer
- All Implemented Interfaces:
ArtifactContextProducer
@Singleton
@Named
public class DefaultArtifactContextProducer
extends Object
implements ArtifactContextProducer
A default implementation of the
ArtifactContextProducer.- Author:
- Tamas Cservenak, Eugene Kuleshov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetArtifactContext(IndexingContext context, File file) Get ArtifactContext for given pom or artifact (jar, war, etc).protected GavgetGavFromPath(IndexingContext context, String repositoryPath, String artifactPath) protected booleanisIndexable(File file)
-
Constructor Details
-
DefaultArtifactContextProducer
-
-
Method Details
-
getArtifactContext
Get ArtifactContext for given pom or artifact (jar, war, etc). A file can be- Specified by:
getArtifactContextin interfaceArtifactContextProducer
-
isIndexable
-
getGavFromPath
-