public final class StaticDependencySelector extends Object implements DependencySelector
Constructor and Description |
---|
StaticDependencySelector(boolean select)
Creates a new selector with the specified selection behavior.
|
Modifier and Type | Method and Description |
---|---|
DependencySelector |
deriveChildSelector(DependencyCollectionContext context) |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
selectDependency(Dependency dependency) |
String |
toString() |
public StaticDependencySelector(boolean select)
select
- true
to select all dependencies, false
to exclude all dependencies.public boolean selectDependency(Dependency dependency)
selectDependency
in interface DependencySelector
public DependencySelector deriveChildSelector(DependencyCollectionContext context)
deriveChildSelector
in interface DependencySelector
Copyright © 2010–2022 The Apache Software Foundation. All rights reserved.