public class CumulativeScopeArtifactFilter
extends java.lang.Object
ScopeArtifactFilter
instances ORed together.| Constructor and Description |
|---|
CumulativeScopeArtifactFilter(java.util.Collection<java.lang.String> scopes)
Create a new filter with the specified scopes and their implied scopes enabled.
|
CumulativeScopeArtifactFilter(CumulativeScopeArtifactFilter... filters)
Creates a new filter that combines the specified filters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Set<java.lang.String> |
getScopes() |
int |
hashCode() |
boolean |
include(org.apache.maven.artifact.Artifact artifact) |
public CumulativeScopeArtifactFilter(java.util.Collection<java.lang.String> scopes)
scopes - The scopes to enable, along with all implied scopes, may be null.public CumulativeScopeArtifactFilter(CumulativeScopeArtifactFilter... filters)
filters - The filters to combine, may be null.public java.util.Set<java.lang.String> getScopes()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic boolean include(org.apache.maven.artifact.Artifact artifact)
include in interface org.apache.maven.artifact.resolver.filter.ArtifactFilter