Class DependencyResolutionSkipper.DefaultDependencyResolutionSkipper
java.lang.Object
org.eclipse.aether.internal.impl.collect.bf.DependencyResolutionSkipper
org.eclipse.aether.internal.impl.collect.bf.DependencyResolutionSkipper.DefaultDependencyResolutionSkipper
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
DependencyResolutionSkipper
static final class DependencyResolutionSkipper.DefaultDependencyResolutionSkipper
extends DependencyResolutionSkipper
Visible for testing.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final classprivate static final classprivate static final classNested classes/interfaces inherited from class org.eclipse.aether.internal.impl.collect.bf.DependencyResolutionSkipper
DependencyResolutionSkipper.DefaultDependencyResolutionSkipper, DependencyResolutionSkipper.DependencyResolutionResult -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcache(DependencyNode node, List<DependencyNode> parents) Cache the resolution result when a node is resolved byinvalid @link
{@link BfDependencyCollector) after resolution.voidclose()Close: Print the skip/resolve status report for all nodes.booleanskipResolution(DependencyNode node, List<DependencyNode> parents) Check whether the resolution of current node can be skipped before resolving.Methods inherited from class org.eclipse.aether.internal.impl.collect.bf.DependencyResolutionSkipper
defaultSkipper, neverSkipper
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
results
-
cacheManager
private final DependencyResolutionSkipper.DefaultDependencyResolutionSkipper.CacheManager cacheManager -
coordinateManager
private final DependencyResolutionSkipper.DefaultDependencyResolutionSkipper.CoordinateManager coordinateManager
-
-
Constructor Details
-
DefaultDependencyResolutionSkipper
DefaultDependencyResolutionSkipper()
-
-
Method Details
-
skipResolution
Description copied from class:DependencyResolutionSkipperCheck whether the resolution of current node can be skipped before resolving.- Specified by:
skipResolutionin classDependencyResolutionSkipper- Parameters:
node- Current nodeparents- All parent nodes of current node- Returns:
trueif the node can be skipped for resolution,falseif resolution required.
-
cache
Description copied from class:DependencyResolutionSkipperCache the resolution result when a node is resolved byinvalid @link
{@link BfDependencyCollector) after resolution.- Specified by:
cachein classDependencyResolutionSkipper- Parameters:
node- Current nodeparents- All parent nodes of current node
-
close
public void close()Description copied from class:DependencyResolutionSkipperClose: Print the skip/resolve status report for all nodes.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classDependencyResolutionSkipper
-
getResults
-