public class DependencyManagement extends Object implements Serializable, Cloneable, InputLocationTracker
Constructor and Description |
---|
DependencyManagement() |
Modifier and Type | Method and Description |
---|---|
void |
addDependency(Dependency dependency)
Method addDependency.
|
DependencyManagement |
clone()
Method clone.
|
List<Dependency> |
getDependencies()
Method getDependencies.
|
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input
source.
|
void |
removeDependency(Dependency dependency)
Method removeDependency.
|
void |
setDependencies(List<Dependency> dependencies)
Set the dependencies specified here are not used until they
are referenced in a
POM within the group.
|
void |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field.
|
public void addDependency(Dependency dependency)
dependency
- public DependencyManagement clone()
public List<Dependency> getDependencies()
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- public void removeDependency(Dependency dependency)
dependency
- public void setDependencies(List<Dependency> dependencies)
dependencies
- public void setLocation(Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.