org.apache.maven.index
Class AndMultiArtifactInfoFilter
java.lang.Object
org.apache.maven.index.AbstractMultiArtifactInfoFilter
org.apache.maven.index.AndMultiArtifactInfoFilter
- All Implemented Interfaces:
- ArtifactInfoFilter
public class AndMultiArtifactInfoFilter
- extends AbstractMultiArtifactInfoFilter
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AndMultiArtifactInfoFilter
public AndMultiArtifactInfoFilter(List<ArtifactInfoFilter> filters)
accepts
protected boolean accepts(List<ArtifactInfoFilter> filters,
IndexingContext ctx,
ArtifactInfo ai)
- 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 class AbstractMultiArtifactInfoFilter
- Returns:
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.