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:
-
ExclusionsDependencyFilter
-
Constructor Summary
ConstructorDescriptionExclusionsFilter
(Collection<String> excludes) The default constructor specifying a collection of keys which must be excluded. -
Method Summary
Modifier and TypeMethodDescriptionfinal Collection<String>
Getter for the fieldexcludes
.<T> T
transform
(FilterTransformer<T> transformer) Subclasses should include the following code:
-
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
Getter for the field
excludes
.- Returns:
- The list of excludes.
-