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 Summary
Nested classes/interfaces inherited from class org.apache.maven.model.BaseObject
BaseObject.ChildrenTracking - 
Field Summary
Fields inherited from class org.apache.maven.model.BaseObject
childrenTracking, delegate - 
Constructor Summary
Constructors - 
Method Summary
Modifier 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.BaseObject
update 
- 
Constructor Details
- 
ModelBase
public ModelBase() - 
ModelBase
 - 
ModelBase
 
 - 
 - 
Method Details
- 
clone
 - 
getDelegate
- Overrides:
 getDelegatein classBaseObject
 - 
equals
 - 
hashCode
public 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
 - 
getLocation
Description copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Parameters:
 key- The key of the field, must not benull.- Returns:
 - The location of the field in the input source or
 
nullif unknown. 
 - 
setLocation
Description copied from interface:InputLocationTrackerSets the location of the specified field.- Parameters:
 key- The key of the field, must not benull.location- The location of the field, may benull.
 - 
replace
- Overrides:
 replacein classBaseObject
 - 
modelBaseToApiV4
 - 
modelBaseToApiV3
 
 -