Package org.apache.maven.index
Class AndMultiArtifactInfoFilter
java.lang.Object
org.apache.maven.index.AbstractMultiArtifactInfoFilter
org.apache.maven.index.AndMultiArtifactInfoFilter
- All Implemented Interfaces:
ArtifactInfoFilter
This is a aggregated artifact info filter that performs AND operation (all filter has to accept the artifact info, if
one rejects, results is reject). It is implemented in "fail fast" way, as soon as some member ArtifactFilter rejects,
it will be rejected.
- Author:
- cstamas
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
accepts
(List<ArtifactInfoFilter> filters, IndexingContext ctx, ArtifactInfo ai) It is left to final implementor to implement how we want to decide using filters.Methods inherited from class org.apache.maven.index.AbstractMultiArtifactInfoFilter
accepts, getFilters
-
Constructor Details
-
AndMultiArtifactInfoFilter
-
-
Method Details
-
accepts
Description copied from class:AbstractMultiArtifactInfoFilter
It is left to final implementor to implement how we want to decide using filters. This method is called only if we _have_ filters set!- Specified by:
accepts
in classAbstractMultiArtifactInfoFilter
- Parameters:
filters
-ctx
-ai
-- Returns:
-