Package org.apache.maven.index

Examples of org.apache.maven.index.AndMultiArtifactInfoFilter


    if (extraFilters != null && extraFilters.size() > 0) {
      filters.addAll(extraFilters);
    }

    req.setArtifactInfoFilter(new AndMultiArtifactInfoFilter(filters));

    if (uniqueRGA) {
      req.setArtifactInfoPostprocessor(new ArtifactInfoPostprocessor()
      {
        public void postprocess(IndexingContext ctx, ArtifactInfo ai) {
View Full Code Here


    // filter that filters out classified artifacts
    final ClassifierArtifactInfoFilter classifierFilter = new ClassifierArtifactInfoFilter();

    // combine it with others if needed (unused in cli, but perm filtering in server!)
    if (request.getArtifactInfoFilter() != null) {
      final AndMultiArtifactInfoFilter andArtifactFilter =
          new AndMultiArtifactInfoFilter(Arrays.asList(new ArtifactInfoFilter[]{
              classifierFilter,
              request.getArtifactInfoFilter()
          }));
      sreq.setArtifactInfoFilter(andArtifactFilter);
    }
View Full Code Here

TOP

Related Classes of org.apache.maven.index.AndMultiArtifactInfoFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.