Package org.apache.maven.model
Class Extension
java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.Extension
- 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 TypeMethodDescriptionclone()booleanextensionToApiV3(List<Extension> list) extensionToApiV4(List<Extension> list) getLocation(Object key) Gets the location of the specified field in the input source.inthashCode()protected booleanvoidsetArtifactId(String artifactId) voidsetGroupId(String groupId) voidsetImportedFrom(InputLocation location) voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidsetVersion(String version) Methods inherited from class org.apache.maven.model.BaseObjectupdate
- 
Constructor Details- 
Extensionpublic Extension()
- 
Extension
- 
Extension
 
- 
- 
Method Details- 
clone
- 
getDelegate- Overrides:
- getDelegatein class- BaseObject
 
- 
equals
- 
hashCodepublic int hashCode()
- 
getGroupId
- 
setGroupId
- 
getArtifactId
- 
setArtifactId
- 
getVersion
- 
setVersion
- 
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.
 
- 
getImportedFrom
- 
setImportedFrom
- 
getLocationKeys
- 
replace- Overrides:
- replacein class- BaseObject
 
- 
extensionToApiV4
- 
extensionToApiV3
 
-