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.
|
void |
setOtherLocation(Object key,
InputLocation location) |
public void addDependency(Dependency dependency)
dependency - public DependencyManagement clone()
public List<Dependency> getDependencies()
public InputLocation getLocation(Object key)
InputLocationTrackergetLocation in interface InputLocationTrackerkey - public void setLocation(Object key, InputLocation location)
InputLocationTrackersetLocation in interface InputLocationTrackerkey - location - public void setOtherLocation(Object key, InputLocation location)
key - location - public void removeDependency(Dependency dependency)
dependency - public void setDependencies(List<Dependency> dependencies)
dependencies - Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.