public class DependencyManagement extends java.lang.Object implements java.io.Serializable, java.lang.Cloneable, InputLocationTracker
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<Dependency> |
dependencies
Field dependencies.
|
private InputLocation |
dependenciesLocation
Field dependenciesLocation.
|
private InputLocation |
location
Field location.
|
private java.util.Map<java.lang.Object,InputLocation> |
locations
Field locations.
|
| Constructor and Description |
|---|
DependencyManagement() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDependency(Dependency dependency)
Method addDependency.
|
DependencyManagement |
clone()
Method clone.
|
java.util.List<Dependency> |
getDependencies()
Method getDependencies.
|
InputLocation |
getLocation(java.lang.Object key)
Gets the location of the specified field in the input
source.
|
private InputLocation |
getOtherLocation(java.lang.Object key) |
void |
removeDependency(Dependency dependency)
Method removeDependency.
|
void |
setDependencies(java.util.List<Dependency> dependencies)
Set the dependencies specified here are not used until they
are referenced in a
POM within the group.
|
void |
setLocation(java.lang.Object key,
InputLocation location)
Sets the location of the specified field.
|
void |
setOtherLocation(java.lang.Object key,
InputLocation location) |
private java.util.List<Dependency> dependencies
private java.util.Map<java.lang.Object,InputLocation> locations
private InputLocation location
private InputLocation dependenciesLocation
public void addDependency(Dependency dependency)
dependency - public DependencyManagement clone()
clone in class java.lang.Objectpublic java.util.List<Dependency> getDependencies()
public InputLocation getLocation(java.lang.Object key)
InputLocationTrackergetLocation in interface InputLocationTrackerkey - public void setLocation(java.lang.Object key,
InputLocation location)
InputLocationTrackersetLocation in interface InputLocationTrackerkey - location - public void setOtherLocation(java.lang.Object key,
InputLocation location)
key - location - private InputLocation getOtherLocation(java.lang.Object key)
key - public void removeDependency(Dependency dependency)
dependency - public void setDependencies(java.util.List<Dependency> dependencies)
dependencies -