Class ArtifactTypeExcluded


  • public class ArtifactTypeExcluded
    extends Filter<java.lang.String>
    Filter implementation to exclude artifacts whose type matches a regular expression.
    Author:
    ercpe
    • Constructor Summary

      Constructors 
      Constructor Description
      ArtifactTypeExcluded​(java.lang.String excludeRegex)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean passes​(java.lang.String artifactType)
      • Methods inherited from class java.lang.Object

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

      • ArtifactTypeExcluded

        public ArtifactTypeExcluded​(java.lang.String excludeRegex)
        Creates a new instance.
        Parameters:
        excludeRegex - The regular expression to match the artifacts type against
    • Method Detail

      • passes

        public boolean passes​(java.lang.String artifactType)
        Specified by:
        passes in class Filter<java.lang.String>