Package org.apache.maven.model
Class Extension
java.lang.Object
org.apache.maven.model.Extension
- All Implemented Interfaces:
- Serializable,- Cloneable,- InputLocationTracker
Describes a build extension to utilise.
- Version:
- $Revision$ $Date$
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()Method clone.booleanGet the artifact ID of the extension.Get the group ID of the extension's artifact.getLocation(Object key) Gets the location of the specified field in the input source.Get the version of the extension.inthashCode()voidsetArtifactId(String artifactId) Set the artifact ID of the extension.voidsetGroupId(String groupId) Set the group ID of the extension's artifact.voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidsetOtherLocation(Object key, InputLocation location) voidsetVersion(String version) Set the version of the extension.
- 
Constructor Details- 
Extensionpublic Extension()
 
- 
- 
Method Details- 
cloneMethod clone.
- 
getArtifactIdGet the artifact ID of the extension.- Returns:
- String
 
- 
getGroupIdGet the group ID of the extension's artifact.- Returns:
- String
 
- 
getLocationDescription copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Specified by:
- getLocationin interface- InputLocationTracker
- Parameters:
- key- a key object.
- Returns:
- InputLocation
 
- 
setLocationDescription copied from interface:InputLocationTrackerSets the location of the specified field.- Specified by:
- setLocationin interface- InputLocationTracker
- Parameters:
- key- a key object.
- location- a location object.
 
- 
setOtherLocation- Parameters:
- key- a key object.
- location- a location object.
 
- 
getVersionGet the version of the extension.- Returns:
- String
 
- 
setArtifactIdSet the artifact ID of the extension.- Parameters:
- artifactId- a artifactId object.
 
- 
setGroupIdSet the group ID of the extension's artifact.- Parameters:
- groupId- a groupId object.
 
- 
setVersionSet the version of the extension.- Parameters:
- version- a version object.
 
- 
equals
- 
hashCodepublic int hashCode()
 
-