public class CumulativeScopeArtifactFilter extends AbstractScopeArtifactFilter
ScopeArtifactFilter
instances ORed together.| Modifier and Type | Field and Description |
|---|---|
private java.util.Set<java.lang.String> |
scopes |
| 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 |
|---|---|
private void |
addScope(java.lang.String scope) |
private void |
addScopes(java.util.Collection<java.lang.String> scopes) |
boolean |
equals(java.lang.Object obj) |
java.util.Set<java.lang.String> |
getScopes() |
int |
hashCode() |
addScopeInternal, includepublic 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.private void addScopes(java.util.Collection<java.lang.String> scopes)
private void addScope(java.lang.String scope)
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.Object