Package org.apache.maven.model
Class Profile
java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.ModelBase
org.apache.maven.model.Profile
- All Implemented Interfaces:
- Serializable,- Cloneable,- InputLocationTracker
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.maven.model.BaseObjectBaseObject.ChildrenTracking
- 
Field SummaryFieldsFields inherited from class org.apache.maven.model.BaseObjectchildrenTracking, delegate
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()getBuild()getId()getLocation(Object key) Gets the location of the specified field in the input source.profileToApiV3(List<Profile> list) profileToApiV4(List<Profile> list) protected booleanvoidsetActivation(Activation activation) voidvoidvoidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidtoString()Methods inherited from class org.apache.maven.model.ModelBaseaddDependency, addModule, addPluginRepository, addRepository, getDependencies, getDependencyManagement, getDistributionManagement, getModules, getPluginRepositories, getProperties, getReporting, getRepositories, modelBaseToApiV3, modelBaseToApiV4, removeDependency, removeModule, removePluginRepository, removeRepository, setDependencies, setDependencyManagement, setDistributionManagement, setModules, setPluginRepositories, setProperties, setReporting, setRepositoriesMethods inherited from class org.apache.maven.model.BaseObjectupdate
- 
Field Details- 
SOURCE_POM- See Also:
 
- 
SOURCE_SETTINGS- See Also:
 
 
- 
- 
Constructor Details- 
Profilepublic Profile()
- 
Profile
- 
Profile
 
- 
- 
Method Details- 
clone
- 
getDelegate- Overrides:
- getDelegatein class- ModelBase
 
- 
getId
- 
setId
- 
getActivation
- 
setActivation
- 
getBuild
- 
setBuild
- 
getLocationDescription copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Specified by:
- getLocationin interface- InputLocationTracker
- Overrides:
- getLocationin class- ModelBase
- 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.- Specified by:
- setLocationin interface- InputLocationTracker
- Overrides:
- setLocationin class- ModelBase
- Parameters:
- key- The key of the field, must not be- null.
- location- The location of the field, may be- null.
 
- 
replace
- 
profileToApiV4
- 
profileToApiV3
- 
setSource
- 
getSource
- 
toString
 
-