public class PatternExclusionsFilter extends java.lang.Object implements TransformableFilter
[groupId]:[artifactId]:[extension]:[version]
Where each pattern segment is optional and supports full and partial * wildcards. An empty pattern
segment is treated as an implicit wildcard. Version can be a range in case a VersionScheme is specified.
For example, org.apache.* would match all artifacts whose group id started with
org.apache. , and :::*-SNAPSHOT would match all snapshot artifacts.
org.sonatype.aether.util.filter.PatternExclusionsDependencyFilter,
PatternExclusionsDependencyFilter,
org.sonatype.aether.version.VersionScheme,
VersionScheme| Modifier and Type | Field and Description |
|---|---|
private java.util.Collection<java.lang.String> |
excludes |
| Constructor and Description |
|---|
PatternExclusionsFilter(java.util.Collection<java.lang.String> excludes)
The default constructor specifying a collection of pattern based keys which must be excluded.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<java.lang.String> |
getExcludes()
Get the excludes
|
<T> T |
transform(FilterTransformer<T> transformer)
Transform this filter to a tool specific implementation
|
public PatternExclusionsFilter(java.util.Collection<java.lang.String> excludes)
excludes - the excludes, must not be nullpublic final java.util.Collection<java.lang.String> getExcludes()
nullpublic <T> T transform(FilterTransformer<T> transformer)
transform in interface TransformableFilterT - the interface of the tool specific filtertransformer - the transformer, must not be nullnull