public final class DependencyFlagger extends Object
| Modifier and Type | Field and Description |
|---|---|
static DependencyFlagger |
INSTANCE
A singleton to reuse.
|
| Constructor and Description |
|---|
DependencyFlagger()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
flag(org.eclipse.aether.graph.DependencyNode node)
Flags the artifact as being rejects.
|
boolean |
isFlagged(org.eclipse.aether.graph.Dependency dependency)
Checks if the given dependency is flagged as its artifact being rejected.
|
public static final DependencyFlagger INSTANCE
public void flag(org.eclipse.aether.graph.DependencyNode node)
node - the node of the dependency to flag.public boolean isFlagged(org.eclipse.aether.graph.Dependency dependency)
dependency - the dependency to check.true of the artifact of this dependency is rejected,
false otherwise.Copyright © 2013–2019 FuseSource. All rights reserved.