public abstract class AbstractPatternDependencyFilter extends Object implements org.eclipse.aether.graph.DependencyFilter
[groupId]:[artifactId]:[extension]:[classifier]:[version]
| Modifier and Type | Field and Description |
|---|---|
static String |
MAVEN_COORDINATES_SEPARATOR |
static String |
STAR_SYMBOL |
| Constructor and Description |
|---|
AbstractPatternDependencyFilter(Collection<String> coordinates)
Creates the filter using the Maven coordinates
|
AbstractPatternDependencyFilter(String... coordinates)
Creates the filter using the Maven coordinates
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
accept(org.eclipse.aether.artifact.Artifact artifact)
Checks if the artifact matches for the pattern defined on this filter.
|
boolean |
accept(org.eclipse.aether.graph.DependencyNode node,
List<org.eclipse.aether.graph.DependencyNode> parents) |
boolean |
equals(Object obj) |
int |
hashCode() |
public static final String MAVEN_COORDINATES_SEPARATOR
public static final String STAR_SYMBOL
public AbstractPatternDependencyFilter(Collection<String> coordinates)
coordinates - that define the inclusion patternspublic AbstractPatternDependencyFilter(String... coordinates)
coordinates - that define the inclusion patternspublic boolean accept(org.eclipse.aether.graph.DependencyNode node,
List<org.eclipse.aether.graph.DependencyNode> parents)
accept in interface org.eclipse.aether.graph.DependencyFilterprotected boolean accept(org.eclipse.aether.artifact.Artifact artifact)
artifact - Artifact to check if matches with the filter.true if the artifact matches with the pattern defined.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.