Class ArtifactIdFilter

All Implemented Interfaces:
ArtifactsFilter

public class ArtifactIdFilter extends AbstractArtifactFeatureFilter
Filter on ArtifactId name
Since:
2.0-alpha-2
Author:
clove
  • Constructor Details

    • ArtifactIdFilter

      public ArtifactIdFilter(String include, String exclude)
      Will setup super with 'ArtifactId' as the filterType
      Parameters:
      include - comma separated list of artifactIds to include, may be null
      exclude - comma separated list of artifactIds to exclude, may be null
  • Method Details

    • getArtifactFeature

      protected String getArtifactFeature(org.apache.maven.artifact.Artifact artifact)
      Should return the type or classifier of the given artifact, so that we can filter it
      Specified by:
      getArtifactFeature in class AbstractArtifactFeatureFilter
      Parameters:
      artifact - artifact to return type or classifier of
      Returns:
      type or classifier