Package org.apache.maven.model
Class DependencyManagement
java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.DependencyManagement
- All Implemented Interfaces:
- Serializable,- Cloneable,- InputLocationTracker
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.maven.model.BaseObjectBaseObject.ChildrenTracking
- 
Field SummaryFields inherited from class org.apache.maven.model.BaseObjectchildrenTracking, delegate
- 
Constructor SummaryConstructorsConstructorDescriptionDependencyManagement(DependencyManagement delegate) DependencyManagement(DependencyManagement delegate, BaseObject parent) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddDependency(Dependency dependency) clone()static List<DependencyManagement>static List<DependencyManagement>getLocation(Object key) Gets the location of the specified field in the input source.voidremoveDependency(Dependency dependency) protected booleanvoidsetDependencies(List<Dependency> dependencies) voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.Methods inherited from class org.apache.maven.model.BaseObjectupdate
- 
Constructor Details- 
DependencyManagementpublic DependencyManagement()
- 
DependencyManagement
- 
DependencyManagement
 
- 
- 
Method Details- 
clone
- 
getDelegate- Overrides:
- getDelegatein class- BaseObject
 
- 
getDependencies
- 
setDependencies
- 
addDependency
- 
removeDependency
- 
getLocationDescription copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Parameters:
- key- The key of the field, must not be- null.
- Returns:
- The location of the field in the input source or
 nullif unknown.
 
- 
setLocationDescription copied from interface:InputLocationTrackerSets the location of the specified field.- Parameters:
- key- The key of the field, must not be- null.
- location- The location of the field, may be- null.
 
- 
replace- Overrides:
- replacein class- BaseObject
 
- 
dependencyManagementToApiV4public static List<DependencyManagement> dependencyManagementToApiV4(List<DependencyManagement> list) 
- 
dependencyManagementToApiV3public static List<DependencyManagement> dependencyManagementToApiV3(List<DependencyManagement> list) 
 
-