@Named @Singleton public class DefaultArtifactFilterManager extends Object implements ArtifactFilterManager
Modifier and Type | Field and Description |
---|---|
protected List<ArtifactFilterManagerDelegate> |
delegates |
protected Set<String> |
excludedArtifacts |
Constructor and Description |
---|
DefaultArtifactFilterManager(List<ArtifactFilterManagerDelegate> delegates,
CoreExportsProvider coreExports) |
Modifier and Type | Method and Description |
---|---|
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.
|
protected final List<ArtifactFilterManagerDelegate> delegates
@Inject public DefaultArtifactFilterManager(List<ArtifactFilterManagerDelegate> delegates, CoreExportsProvider coreExports)
public ArtifactFilter getArtifactFilter()
getArtifactFilter
in interface ArtifactFilterManager
ArtifactFilterManager.getArtifactFilter()
public ArtifactFilter getCoreArtifactFilter()
getCoreArtifactFilter
in interface ArtifactFilterManager
ArtifactFilterManager.getCoreArtifactFilter()
public void excludeArtifact(String artifactId)
ArtifactFilterManager
excludeArtifact
in interface ArtifactFilterManager
public Set<String> getCoreArtifactExcludes()
getCoreArtifactExcludes
in interface ArtifactFilterManager
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.