added a getter to ScopeArtifactFilter to enable interrogation

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@763009 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Oleg Gusakov 2009-04-07 22:28:00 +00:00
parent 6c6513cad3
commit 068f969719
1 changed files with 9 additions and 0 deletions

View File

@ -40,8 +40,12 @@ public class ScopeArtifactFilter
private final boolean systemScope;
private final String scope;
public ScopeArtifactFilter( String scope )
{
this.scope = scope;
if ( Artifact.SCOPE_COMPILE.equals( scope ) )
{
systemScope = true;
@ -111,4 +115,9 @@ public class ScopeArtifactFilter
return true;
}
}
public String getScope()
{
return scope;
}
}