Class CoreExtension
- java.lang.Object
-
- org.apache.maven.cli.internal.extension.model.CoreExtension
-
- All Implemented Interfaces:
java.io.Serializable
public class CoreExtension extends java.lang.Object implements java.io.SerializableDescribes a build extension to utilise.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringartifactIdThe artifact ID of the extension.private java.lang.StringgroupIdThe group ID of the extension's artifact.private java.lang.StringversionThe version of the extension.
-
Constructor Summary
Constructors Constructor Description CoreExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetArtifactId()Get the artifact ID of the extension.java.lang.StringgetGroupId()Get the group ID of the extension's artifact.java.lang.StringgetVersion()Get the version of the extension.voidsetArtifactId(java.lang.String artifactId)Set the artifact ID of the extension.voidsetGroupId(java.lang.String groupId)Set the group ID of the extension's artifact.voidsetVersion(java.lang.String version)Set the version of the extension.
-
-
-
Method Detail
-
getArtifactId
public java.lang.String getArtifactId()
Get the artifact ID of the extension.- Returns:
- String
-
getGroupId
public java.lang.String getGroupId()
Get the group ID of the extension's artifact.- Returns:
- String
-
getVersion
public java.lang.String getVersion()
Get the version of the extension.- Returns:
- String
-
setArtifactId
public void setArtifactId(java.lang.String artifactId)
Set the artifact ID of the extension.- Parameters:
artifactId-
-
setGroupId
public void setGroupId(java.lang.String groupId)
Set the group ID of the extension's artifact.- Parameters:
groupId-
-
setVersion
public void setVersion(java.lang.String version)
Set the version of the extension.- Parameters:
version-
-
-