Class ExclusionsFilter
java.lang.Object
org.apache.maven.shared.artifact.filter.resolve.ExclusionsFilter
- All Implemented Interfaces:
TransformableFilter
A simple filter to exclude artifacts based on either artifact id or group id and artifact id.
- Since:
- 3.0
- Author:
- Robert Scholte
- See Also:
-
org.sonatype.aether.util.filter.ExclusionsDependencyFilter
ExclusionsDependencyFilter
-
Constructor Summary
ConstructorsConstructorDescriptionExclusionsFilter
(Collection<String> excludes) The default constructor specifying a collection of keys which must be excluded. -
Method Summary
Modifier and TypeMethodDescriptionfinal Collection<String>
<T> T
transform
(FilterTransformer<T> transformer) Transform this filter to a tool specific implementation
-
Constructor Details
-
ExclusionsFilter
The default constructor specifying a collection of keys which must be excluded.- Parameters:
excludes
- the keys to exclude, may not benull
- See Also:
-
Artifact.getDependencyConflictId()
-
-
Method Details
-
getExcludes
- Returns:
- The list of excludes.
-