Class PatternIncludesArtifactFilter

    • Constructor Detail

      • PatternIncludesArtifactFilter

        public PatternIncludesArtifactFilter​(java.util.Collection<java.lang.String> patterns)
        Parameters:
        patterns - The pattern to be used.
      • PatternIncludesArtifactFilter

        public PatternIncludesArtifactFilter​(java.util.Collection<java.lang.String> patterns,
                                             boolean actTransitively)
        Parameters:
        patterns - The pattern to be used.
        actTransitively - transitive yes/no.
    • Method Detail

      • patternMatches

        protected boolean patternMatches​(Artifact artifact)
        Parameters:
        artifact - to check for.
        Returns:
        true if the match is true false otherwise.
      • addFilteredArtifactId

        protected void addFilteredArtifactId​(java.lang.String artifactId)
        Parameters:
        artifactId - add artifact to the filtered artifacts list.
      • positiveMatch

        protected java.lang.Boolean positiveMatch​(Artifact artifact)
        Parameters:
        artifact - check for positive match.
        Returns:
        true/false.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getPatternsAsString

        protected java.lang.String getPatternsAsString()
        Returns:
        pattern as a string.
      • getFilterDescription

        protected java.lang.String getFilterDescription()
        Returns:
        description.