Class Extension
java.lang.Object
org.apache.maven.model.Extension
- All Implemented Interfaces:
Serializable
Describes a build extension to utilise.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the artifact ID of the extension.Get the group ID of the extension's artifact.getKey()Gets the key of the extension.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.voidsetVersion(String version) Set the version of the extension.
-
Constructor Details
-
Extension
public Extension()
-
-
Method Details
-
getArtifactId
-
getGroupId
-
getVersion
-
setArtifactId
Set the artifact ID of the extension.- Parameters:
artifactId- a artifactId object.
-
setGroupId
Set the group ID of the extension's artifact.- Parameters:
groupId- a groupId object.
-
setVersion
Set the version of the extension.- Parameters:
version- a version object.
-
getKey
Gets the key of the extension. The key is used to merge extensions inherited from a parent with the extensions of the current project.- Returns:
- The key of the extension, i.e.
groupId:artifactId.
-
equals
-
hashCode
-