Class ClassicDependencyManager
java.lang.Object
org.eclipse.aether.util.graph.manager.ClassicDependencyManager
- All Implemented Interfaces:
DependencyManager
A dependency manager that mimics the way Maven 2.x works.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new dependency manager without any management information. -
Method Summary
Modifier and TypeMethodDescriptionDerives a dependency manager for the specified collection context.booleaninthashCode()manageDependency(Dependency dependency) Applies dependency management to the specified dependency.
-
Constructor Details
-
ClassicDependencyManager
public ClassicDependencyManager()Creates a new dependency manager without any management information.
-
-
Method Details
-
deriveChildManager
Description copied from interface:DependencyManagerDerives a dependency manager for the specified collection context. When calculating the child manager, implementors are strongly advised to simply return the current instance if nothing changed to help save memory.- Specified by:
deriveChildManagerin interfaceDependencyManager- Parameters:
context- The dependency collection context, must not benull.- Returns:
- The dependency manager for the dependencies of the target node or
nullif dependency management should no longer be applied.
-
manageDependency
Description copied from interface:DependencyManagerApplies dependency management to the specified dependency.- Specified by:
manageDependencyin interfaceDependencyManager- Parameters:
dependency- The dependency to manage, must not benull.- Returns:
- The management update to apply to the dependency or
nullif the dependency is not managed at all.
-
equals
-
hashCode
-