Class PatternIncludesArtifactFilter

    • Constructor Detail

      • PatternIncludesArtifactFilter

        public PatternIncludesArtifactFilter​(Collection<String> patterns)

        Constructor for PatternIncludesArtifactFilter.

        Parameters:
        patterns - The pattern to be used.
      • PatternIncludesArtifactFilter

        public PatternIncludesArtifactFilter​(Collection<String> patterns,
                                             boolean actTransitively)

        Constructor for PatternIncludesArtifactFilter.

        Parameters:
        patterns - The pattern to be used.
        actTransitively - transitive yes/no.
    • Method Detail

      • patternMatches

        protected boolean patternMatches​(Artifact artifact)

        patternMatches.

        Parameters:
        artifact - to check for.
        Returns:
        true if the match is true false otherwise.
      • addFilteredArtifact

        protected void addFilteredArtifact​(Artifact artifact)

        addFilteredArtifact.

        Parameters:
        artifact - add artifact to the filtered artifacts list.
      • getPatternsAsString

        protected String getPatternsAsString()

        getPatternsAsString.

        Returns:
        pattern as a string.
      • getFilterDescription

        protected String getFilterDescription()

        getFilterDescription.

        Returns:
        description.