Package org.apache.maven.model
Class ModelBase
java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.ModelBase
- 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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddDependency(Dependency dependency) voidvoidaddPluginRepository(Repository pluginRepository) voidaddProperty(String key, String value) voidaddRepository(Repository repository) clone()booleangetLocation(Object key) Gets the location of the specified field in the input source.inthashCode()modelBaseToApiV3(List<ModelBase> list) modelBaseToApiV4(List<ModelBase> list) voidremoveDependency(Dependency dependency) voidremoveModule(String module) voidremovePluginRepository(Repository pluginRepository) voidremoveRepository(Repository repository) protected booleanvoidsetDependencies(List<Dependency> dependencies) voidsetDependencyManagement(DependencyManagement dependencyManagement) voidsetDistributionManagement(DistributionManagement distributionManagement) voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidsetModules(List<String> modules) voidsetPluginRepositories(List<Repository> pluginRepositories) voidsetProperties(Properties properties) voidsetReporting(Reporting reporting) voidsetRepositories(List<Repository> repositories) Methods inherited from class org.apache.maven.model.BaseObjectupdate
- 
Constructor Details- 
ModelBasepublic ModelBase()
- 
ModelBase
- 
ModelBase
 
- 
- 
Method Details- 
clone
- 
getDelegate- Overrides:
- getDelegatein class- BaseObject
 
- 
equals
- 
hashCodepublic int hashCode()
- 
getModules
- 
setModules
- 
addModule
- 
removeModule
- 
getDistributionManagement
- 
setDistributionManagement
- 
getProperties
- 
setProperties
- 
addProperty
- 
getDependencyManagement
- 
setDependencyManagement
- 
getDependencies
- 
setDependencies
- 
addDependency
- 
removeDependency
- 
getRepositories
- 
setRepositories
- 
addRepository
- 
removeRepository
- 
getPluginRepositories
- 
setPluginRepositories
- 
addPluginRepository
- 
removePluginRepository
- 
getReporting
- 
setReporting
- 
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
 
- 
modelBaseToApiV4
- 
modelBaseToApiV3
 
-