Class CumulativeScopeArtifactFilter
java.lang.Object
org.apache.maven.artifact.resolver.filter.CumulativeScopeArtifactFilter
- All Implemented Interfaces:
ArtifactFilter
Filter to only retain objects in the given scope or better. This implementation allows the accumulation of multiple
scopes and their associated implied scopes, so that the user can filter apply a series of implication rules in a
single step. This should be a more efficient implementation of multiple standard
ScopeArtifactFilter
instances ORed together.- Author:
- Brett Porter, jdcasey
-
Constructor Summary
ConstructorDescriptionCreate a new filter with the specified scopes and their implied scopes enabled.Creates a new filter that combines the specified filters. -
Method Summary
-
Constructor Details
-
CumulativeScopeArtifactFilter
Create a new filter with the specified scopes and their implied scopes enabled.- Parameters:
scopes
- The scopes to enable, along with all implied scopes, may benull
.
-
CumulativeScopeArtifactFilter
Creates a new filter that combines the specified filters.- Parameters:
filters
- The filters to combine, may benull
.
-
-
Method Details