public class ProjectTransitivityFilter extends AbstractArtifactsFilter
Constructor and Description |
---|
ProjectTransitivityFilter(Set<Artifact> directDependencies,
boolean excludeTransitive) |
Modifier and Type | Method and Description |
---|---|
boolean |
artifactIsADirectDependency(Artifact artifact)
Compares the artifact to the list of dependencies to see if it is directly included by this project
|
Set<Artifact> |
filter(Set<Artifact> artifacts) |
boolean |
isExcludeTransitive() |
void |
setExcludeTransitive(boolean excludeTransitive) |
isArtifactIncluded
public Set<Artifact> filter(Set<Artifact> artifacts)
artifacts
- Artifact
public boolean artifactIsADirectDependency(Artifact artifact)
artifact
- representing the item to compare.public boolean isExcludeTransitive()
public void setExcludeTransitive(boolean excludeTransitive)
excludeTransitive
- The excludeTransitive to set.Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.