Class ArtifactIdFilter

All Implemented Interfaces:
ArtifactsFilter

public class ArtifactIdFilter extends AbstractArtifactFeatureFilter
Filter on ArtifactId name
Since:
2.0-alpha-2
Version:
$Id: ArtifactIdFilter.java 1685387 2015-06-14 11:36:28Z rfscholte $
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)
      Description copied from class: AbstractArtifactFeatureFilter
      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