Class OldPatternIncludesArtifactFilter

    • Constructor Detail

      • OldPatternIncludesArtifactFilter

        public OldPatternIncludesArtifactFilter​(Collection<String> patterns)
        Parameters:
        patterns - The pattern to be used.
      • OldPatternIncludesArtifactFilter

        public OldPatternIncludesArtifactFilter​(Collection<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​(String artifactId)
        Parameters:
        artifactId - add artifact to the filtered artifacts list.
      • positiveMatch

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

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

        protected String getFilterDescription()
        Returns:
        description.