abstract class DependencyResolutionSkipper
extends java.lang.Object
implements java.io.Closeable
BfDependencyCollector.| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
DependencyResolutionSkipper.DefaultDependencyResolutionSkipper
Visible for testing.
|
(package private) static class |
DependencyResolutionSkipper.DependencyResolutionResult
Visible for testing.
|
private static class |
DependencyResolutionSkipper.NeverDependencyResolutionSkipper
NEVER implementation.
|
| Constructor and Description |
|---|
DependencyResolutionSkipper() |
| Modifier and Type | Method and Description |
|---|---|
(package private) abstract void |
cache(DependencyNode node,
java.util.List<DependencyNode> parents)
Cache the resolution result when a node is resolved by {@link BfDependencyCollector) after resolution.
|
abstract void |
close()
Close: Print the skip/resolve status report for all nodes.
|
static DependencyResolutionSkipper.DefaultDependencyResolutionSkipper |
defaultSkipper()
Returns new instance of "default" skipper.
|
static DependencyResolutionSkipper |
neverSkipper()
Returns instance of "never" skipper.
|
(package private) abstract boolean |
skipResolution(DependencyNode node,
java.util.List<DependencyNode> parents)
Check whether the resolution of current node can be skipped before resolving.
|
abstract boolean skipResolution(DependencyNode node, java.util.List<DependencyNode> parents)
node - Current nodeparents - All parent nodes of current nodetrue if the node can be skipped for resolution, false if resolution required.abstract void cache(DependencyNode node, java.util.List<DependencyNode> parents)
node - Current nodeparents - All parent nodes of current nodepublic abstract void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablepublic static DependencyResolutionSkipper.DefaultDependencyResolutionSkipper defaultSkipper()
public static DependencyResolutionSkipper neverSkipper()