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
-
Method Summary
Modifier and TypeMethodDescriptiongetArtifactContext
(IndexingContext context, File file) Get ArtifactContext for given pom or artifact (jar, war, etc).protected Gav
getGavFromPath
(IndexingContext context, String repositoryPath, String artifactPath) protected boolean
isIndexable
(File file)
-
Constructor Details
-
DefaultArtifactContextProducer
-
-
Method Details
-
getArtifactContext
Get ArtifactContext for given pom or artifact (jar, war, etc). A file can be- Specified by:
getArtifactContext
in interfaceArtifactContextProducer
-
isIndexable
-
getGavFromPath
-