Package aQute.bnd.maven.baseline.plugin
Class Base
- java.lang.Object
-
- aQute.bnd.maven.baseline.plugin.Base
-
public class Base extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringartifactIdprivate java.lang.Stringclassifierprivate java.lang.Stringextensionprivate java.lang.StringgroupIdprivate java.lang.Stringversion
-
Constructor Summary
Constructors Constructor Description Base()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetArtifactId()java.lang.StringgetClassifier()java.lang.StringgetExtension()java.lang.StringgetGroupId()java.lang.StringgetVersion()voidsetArtifactId(java.lang.String artifactId)Set the artifactId of the baseline artifact.voidsetClassifier(java.lang.String classifier)Set the classifier of the baseline artifact.voidsetExtension(java.lang.String extension)Set the extension of the baseline artifact.voidsetGroupId(java.lang.String groupId)Set the groupId of the baseline artifact.voidsetVersion(java.lang.String version)Set the version or version range of the baseline artifact.java.lang.StringtoString()
-
-
-
Method Detail
-
getGroupId
public java.lang.String getGroupId()
-
setGroupId
public void setGroupId(java.lang.String groupId)
Set the groupId of the baseline artifact.- Parameters:
groupId- The groupId of the baseline artifact. This defaults to the groupId of the project.
-
getArtifactId
public java.lang.String getArtifactId()
-
setArtifactId
public void setArtifactId(java.lang.String artifactId)
Set the artifactId of the baseline artifact.- Parameters:
artifactId- The artifactId of the baseline artifact. This defaults to the artifactId of the project.
-
getVersion
public java.lang.String getVersion()
-
setVersion
public void setVersion(java.lang.String version)
Set the version or version range of the baseline artifact.- Parameters:
version- The version or version range of the baseline artifact. This defaults to the highest version less than the version of the project's artifact.
-
getClassifier
public java.lang.String getClassifier()
-
setClassifier
public void setClassifier(java.lang.String classifier)
Set the classifier of the baseline artifact.- Parameters:
classifier- The classifier of the baseline artifact. This defaults to the classifier of the project's artifact.
-
getExtension
public java.lang.String getExtension()
-
setExtension
public void setExtension(java.lang.String extension)
Set the extension of the baseline artifact.- Parameters:
extension- The extension of the baseline artifact. This defaults to the extension of the project's artifact.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-