Class DependencyResolutionSkipper.NeverDependencyResolutionSkipper
- java.lang.Object
-
- org.eclipse.aether.internal.impl.collect.bf.DependencyResolutionSkipper
-
- org.eclipse.aether.internal.impl.collect.bf.DependencyResolutionSkipper.NeverDependencyResolutionSkipper
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
- Enclosing class:
- DependencyResolutionSkipper
private static final class DependencyResolutionSkipper.NeverDependencyResolutionSkipper extends DependencyResolutionSkipper
NEVER implementation.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.aether.internal.impl.collect.bf.DependencyResolutionSkipper
DependencyResolutionSkipper.DefaultDependencyResolutionSkipper, DependencyResolutionSkipper.DependencyResolutionResult
-
-
Field Summary
Fields Modifier and Type Field Description private static DependencyResolutionSkipper
INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
NeverDependencyResolutionSkipper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cache(DependencyNode node, java.util.List<DependencyNode> parents)
Cache the resolution result when a node is resolved by {@link BfDependencyCollector) after resolution.void
close()
Close: Print the skip/resolve status report for all nodes.boolean
skipResolution(DependencyNode node, java.util.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 Detail
-
INSTANCE
private static final DependencyResolutionSkipper INSTANCE
-
-
Method Detail
-
skipResolution
public boolean skipResolution(DependencyNode node, java.util.List<DependencyNode> parents)
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
public void cache(DependencyNode node, java.util.List<DependencyNode> parents)
Description copied from class:DependencyResolutionSkipper
Cache the resolution result when a node is resolved by {@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 interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Specified by:
close
in classDependencyResolutionSkipper
-
-