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 java.lang.Object implements ArtifactContextProducer
A default implementation of theArtifactContextProducer.- Author:
- Tamas Cservenak, Eugene Kuleshov
-
-
Field Summary
-
Fields inherited from interface org.apache.maven.index.ArtifactContextProducer
ROLE
-
-
Constructor Summary
Constructors Constructor Description DefaultArtifactContextProducer(ArtifactPackagingMapper mapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArtifactContextgetArtifactContext(IndexingContext context, java.io.File file)Get ArtifactContext for given pom or artifact (jar, war, etc).
-
-
-
Constructor Detail
-
DefaultArtifactContextProducer
@Inject public DefaultArtifactContextProducer(ArtifactPackagingMapper mapper)
-
-
Method Detail
-
getArtifactContext
public ArtifactContext getArtifactContext(IndexingContext context, java.io.File file)
Get ArtifactContext for given pom or artifact (jar, war, etc). A file can be- Specified by:
getArtifactContextin interfaceArtifactContextProducer
-
-