Class DependencyFilter

java.lang.Object
org.apache.maven.shared.artifact.filter.collection.AbstractArtifactsFilter
org.apache.dubbo.maven.plugin.aot.DependencyFilter
All Implemented Interfaces:
org.apache.maven.shared.artifact.filter.collection.ArtifactsFilter
Direct Known Subclasses:
ExcludeFilter, IncludeFilter

public abstract class DependencyFilter extends org.apache.maven.shared.artifact.filter.collection.AbstractArtifactsFilter
Base class for ArtifactsFilter based on a FilterableDependency list.
Author:
Stephane Nicoll, David Turanski
  • Constructor Summary

    Constructors
    Constructor
    Description
    DependencyFilter(List<? extends org.apache.dubbo.maven.plugin.aot.FilterableDependency> dependencies)
    Create a new instance with the list of FilterableDependency instance(s) to use.
  • Method Summary

    Modifier and Type
    Method
    Description
    Set<org.apache.maven.artifact.Artifact>
    filter(Set<org.apache.maven.artifact.Artifact> artifacts)
     

    Methods inherited from class org.apache.maven.shared.artifact.filter.collection.AbstractArtifactsFilter

    isArtifactIncluded

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DependencyFilter

      public DependencyFilter(List<? extends org.apache.dubbo.maven.plugin.aot.FilterableDependency> dependencies)
      Create a new instance with the list of FilterableDependency instance(s) to use.
      Parameters:
      dependencies - the source dependencies
  • Method Details

    • filter

      public Set<org.apache.maven.artifact.Artifact> filter(Set<org.apache.maven.artifact.Artifact> artifacts) throws org.apache.maven.shared.artifact.filter.collection.ArtifactFilterException
      Throws:
      org.apache.maven.shared.artifact.filter.collection.ArtifactFilterException