public class NoopDependencyManager extends Object implements DependencyManager
Modifier and Type | Field and Description |
---|---|
static DependencyManager |
INSTANCE |
Constructor and Description |
---|
NoopDependencyManager() |
Modifier and Type | Method and Description |
---|---|
DependencyManager |
deriveChildManager(DependencyCollectionContext context)
Derives a dependency manager for the specified collection context.
|
boolean |
equals(Object obj) |
int |
hashCode() |
DependencyManagement |
manageDependency(Dependency dependency)
Applies dependency management to the specified dependency.
|
public static final DependencyManager INSTANCE
public DependencyManager deriveChildManager(DependencyCollectionContext context)
DependencyManager
deriveChildManager
in interface DependencyManager
context
- The dependency collection context, must not be null
.null
.public DependencyManagement manageDependency(Dependency dependency)
DependencyManager
manageDependency
in interface DependencyManager
dependency
- The dependency to manage, must not be null
.null
if the dependency is not managed at all.Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.