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.String
artifactId
private java.lang.String
classifier
private java.lang.String
extension
private java.lang.String
groupId
private java.lang.String
version
-
Constructor Summary
Constructors Constructor Description Base()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getArtifactId()
java.lang.String
getClassifier()
java.lang.String
getExtension()
java.lang.String
getGroupId()
java.lang.String
getVersion()
void
setArtifactId(java.lang.String artifactId)
Set the artifactId of the baseline artifact.void
setClassifier(java.lang.String classifier)
Set the classifier of the baseline artifact.void
setExtension(java.lang.String extension)
Set the extension of the baseline artifact.void
setGroupId(java.lang.String groupId)
Set the groupId of the baseline artifact.void
setVersion(java.lang.String version)
Set the version or version range of the baseline artifact.java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-