Class AbstractDependencyFilter

  • Direct Known Subclasses:
    DependencyEmbedder, DependencyExcluder

    public abstract class AbstractDependencyFilter
    extends java.lang.Object
    Apply clause-based filter over given dependencies
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Collection<org.apache.maven.artifact.Artifact> m_dependencyArtifacts
      Dependency artifacts.
      private static java.util.regex.Pattern MISSING_KEY_PATTERN  
      private static java.lang.String PLACEHOLDER  
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractDependencyFilter​(java.util.Collection<org.apache.maven.artifact.Artifact> dependencyArtifacts)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      private void filteredDependencies​(org.apache.maven.artifact.resolver.filter.ArtifactFilter artifactFilter, java.util.Collection<org.apache.maven.artifact.Artifact> filteredDependencies)  
      protected abstract void processDependencies​(java.util.Collection<org.apache.maven.artifact.Artifact> dependencies, java.lang.String inline)  
      protected void processInstructions​(java.lang.String header)  
      • Methods inherited from class java.lang.Object

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

      • MISSING_KEY_PATTERN

        private static final java.util.regex.Pattern MISSING_KEY_PATTERN
      • m_dependencyArtifacts

        private final java.util.Collection<org.apache.maven.artifact.Artifact> m_dependencyArtifacts
        Dependency artifacts.
    • Constructor Detail

      • AbstractDependencyFilter

        public AbstractDependencyFilter​(java.util.Collection<org.apache.maven.artifact.Artifact> dependencyArtifacts)
    • Method Detail

      • processInstructions

        protected final void processInstructions​(java.lang.String header)
                                          throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • processDependencies

        protected abstract void processDependencies​(java.util.Collection<org.apache.maven.artifact.Artifact> dependencies,
                                                    java.lang.String inline)
      • filteredDependencies

        private void filteredDependencies​(org.apache.maven.artifact.resolver.filter.ArtifactFilter artifactFilter,
                                          java.util.Collection<org.apache.maven.artifact.Artifact> filteredDependencies)