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 java.lang.Object
Filter to only retain objects in the given artifactScope or better.
- Version:
- $Id: ScopeArtifactFilter.java 829934 2009-10-26 20:16:00Z bentmann $
- Author:
- Brett Porter
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ScopeArtifactFilter
public ScopeArtifactFilter(java.lang.String scope)
getScope
public java.lang.String getScope()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
include
public boolean include(Artifact artifact)
- Specified by:
include
in interface ArtifactFilter
Copyright © 2001-2011 Apache Software Foundation. All Rights Reserved.