public abstract class DependencyFilter
extends org.apache.maven.shared.artifact.filter.collection.AbstractArtifactsFilter
ArtifactsFilter based on a FilterableDependency list.| Constructor and Description |
|---|
DependencyFilter(List<? extends org.springframework.boot.maven.FilterableDependency> dependencies)
Create a new instance with the list of
FilterableDependency instance(s) to
use. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
equals(org.apache.maven.artifact.Artifact artifact,
org.springframework.boot.maven.FilterableDependency dependency)
Check if the specified
Artifact matches the
specified FilterableDependency. |
protected abstract boolean |
filter(org.apache.maven.artifact.Artifact artifact) |
Set |
filter(Set artifacts) |
protected List<? extends org.springframework.boot.maven.FilterableDependency> |
getFilters() |
public DependencyFilter(List<? extends org.springframework.boot.maven.FilterableDependency> dependencies)
FilterableDependency instance(s) to
use.dependencies - the source dependenciespublic Set filter(Set artifacts) throws org.apache.maven.shared.artifact.filter.collection.ArtifactFilterException
org.apache.maven.shared.artifact.filter.collection.ArtifactFilterExceptionprotected abstract boolean filter(org.apache.maven.artifact.Artifact artifact)
protected final boolean equals(org.apache.maven.artifact.Artifact artifact,
org.springframework.boot.maven.FilterableDependency dependency)
Artifact matches the
specified FilterableDependency. Returns
true if it should be excludedartifact - the Maven Artifactdependency - the FilterableDependencytrue if the artifact matches the dependencyprotected final List<? extends org.springframework.boot.maven.FilterableDependency> getFilters()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.