Class CoreExtension
java.lang.Object
org.apache.maven.cli.internal.extension.model.CoreExtension
- All Implemented Interfaces:
Serializable
Describes a build extension to utilise.
- Version:
- $Revision$ $Date$
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the artifact ID of the extension.Get the group ID of the extension's artifact.getId()
Gets the identifier of the extension.Get the version of the extension.void
setArtifactId
(String artifactId) Set the artifact ID of the extension.void
setGroupId
(String groupId) Set the group ID of the extension's artifact.void
setVersion
(String version) Set the version of the extension.
-
Field Details
-
groupId
The group ID of the extension's artifact. -
artifactId
The artifact ID of the extension. -
version
The version of the extension.
-
-
Constructor Details
-
CoreExtension
public CoreExtension()
-
-
Method Details
-
getArtifactId
Get the artifact ID of the extension.- Returns:
- String
-
getGroupId
Get the group ID of the extension's artifact.- Returns:
- String
-
getVersion
Get the version of the extension.- Returns:
- String
-
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.
-
getId
Gets the identifier of the extension.- Returns:
- The extension id in the form
<groupId>:<artifactId>:<version>
, nevernull
.
-