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 class
private static final class
private static final class
Nested 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 TypeMethodDescriptionvoid
cache
(DependencyNode node, List<DependencyNode> parents) Cache the resolution result when a node is resolved byinvalid @link
{@link BfDependencyCollector) after resolution.
void
close()
Close: Print the skip/resolve status report for all nodes.boolean
skipResolution
(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:DependencyResolutionSkipper
Check whether the resolution of current node can be skipped before resolving.- Specified by:
skipResolution
in classDependencyResolutionSkipper
- Parameters:
node
- Current nodeparents
- All parent nodes of current node- Returns:
true
if the node can be skipped for resolution,false
if resolution required.
-
cache
Description copied from class:DependencyResolutionSkipper
Cache the resolution result when a node is resolved byinvalid @link
{@link BfDependencyCollector) after resolution.
- Specified by:
cache
in classDependencyResolutionSkipper
- Parameters:
node
- Current nodeparents
- All parent nodes of current node
-
close
public void close()Description copied from class:DependencyResolutionSkipper
Close: Print the skip/resolve status report for all nodes.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classDependencyResolutionSkipper
-
getResults
-