Package org.apache.maven.index
Class UniqueArtifactFilterPostprocessor
java.lang.Object
org.apache.maven.index.UniqueArtifactFilterPostprocessor
- All Implemented Interfaces:
ArtifactInfoFilter
A special reusable filter, that filters the result set to unique Repository-GroupId-ArtifactId combination, leaving
out Version. There is a switch to make the Indexer-wide unique by ignoring repositories too.
- Author:
- cstamas
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
accepts
(IndexingContext ctx, ArtifactInfo ai) void
void
postprocess
(IndexingContext ctx, ArtifactInfo ai)
-
Field Details
-
COLLAPSED
- See Also:
-
-
Constructor Details
-
UniqueArtifactFilterPostprocessor
public UniqueArtifactFilterPostprocessor() -
UniqueArtifactFilterPostprocessor
-
-
Method Details
-
accepts
- Specified by:
accepts
in interfaceArtifactInfoFilter
-
postprocess
-
addField
-