Class TypesArtifactFilter

  • All Implemented Interfaces:
    org.apache.maven.artifact.resolver.filter.ArtifactFilter

    public class TypesArtifactFilter
    extends java.lang.Object
    implements org.apache.maven.artifact.resolver.filter.ArtifactFilter
    Artifact Filter which filters on artifact types.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<java.lang.String> types  
    • Constructor Summary

      Constructors 
      Constructor Description
      TypesArtifactFilter​(java.lang.String types)
      Accepts a comma separated list of types
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean include​(org.apache.maven.artifact.Artifact artifact)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • types

        private java.util.List<java.lang.String> types
    • Constructor Detail

      • TypesArtifactFilter

        public TypesArtifactFilter​(java.lang.String types)
        Accepts a comma separated list of types
        Parameters:
        types - The types.
    • Method Detail

      • include

        public boolean include​(org.apache.maven.artifact.Artifact artifact)
        Specified by:
        include in interface org.apache.maven.artifact.resolver.filter.ArtifactFilter