org.apache.maven
Class DefaultArtifactFilterManager

java.lang.Object
  extended by org.apache.maven.DefaultArtifactFilterManager
All Implemented Interfaces:
ArtifactFilterManager

@Component(role=ArtifactFilterManager.class)
public class DefaultArtifactFilterManager
extends Object
implements ArtifactFilterManager

Author:
Jason van Zyl

Field Summary
protected  Set<String> excludedArtifacts
           
 
Constructor Summary
DefaultArtifactFilterManager()
           
 
Method Summary
static ArtifactFilter createStandardFilter()
          Deprecated. Use this class as a component instead, and then use getArtifactFilter().
 void excludeArtifact(String artifactId)
          Exclude an extension artifact (doesn't affect getArtifactFilter's result, only getExtensionArtifactFilter).
 ArtifactFilter getArtifactFilter()
          Returns the artifact filter for the core + extension artifacts.
 Set<String> getCoreArtifactExcludes()
           
 ArtifactFilter getCoreArtifactFilter()
          Returns the artifact filter for the standard core artifacts.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

excludedArtifacts

protected Set<String> excludedArtifacts
Constructor Detail

DefaultArtifactFilterManager

public DefaultArtifactFilterManager()
Method Detail

createStandardFilter

public static ArtifactFilter createStandardFilter()
Deprecated. Use this class as a component instead, and then use getArtifactFilter().


getArtifactFilter

public ArtifactFilter getArtifactFilter()
Returns the artifact filter for the core + extension artifacts.

Specified by:
getArtifactFilter in interface ArtifactFilterManager
See Also:
ArtifactFilterManager.getArtifactFilter()

getCoreArtifactFilter

public ArtifactFilter getCoreArtifactFilter()
Returns the artifact filter for the standard core artifacts.

Specified by:
getCoreArtifactFilter in interface ArtifactFilterManager
See Also:
org.apache.maven.ArtifactFilterManager#getExtensionDependencyFilter()

excludeArtifact

public void excludeArtifact(String artifactId)
Description copied from interface: ArtifactFilterManager
Exclude an extension artifact (doesn't affect getArtifactFilter's result, only getExtensionArtifactFilter).

Specified by:
excludeArtifact in interface ArtifactFilterManager

getCoreArtifactExcludes

public Set<String> getCoreArtifactExcludes()
Specified by:
getCoreArtifactExcludes in interface ArtifactFilterManager


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.