org.apache.maven.artifact.resolver.filter
Class ScopeArtifactFilter
java.lang.Object
org.apache.maven.artifact.resolver.filter.ScopeArtifactFilter
- All Implemented Interfaces:
- ArtifactFilter
public class ScopeArtifactFilter
- extends Object
Filter to only retain objects in the given artifactScope or better.
- Author:
- Brett Porter
ScopeArtifactFilter
public ScopeArtifactFilter(String scope)
getScope
public String getScope()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
include
public boolean include(Artifact artifact)
- Specified by:
include
in interface ArtifactFilter
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.