@ThreadSafe
public class Model
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Model() |
Modifier and Type | Method and Description | ||
---|---|---|---|
void |
addDeveloper(Developer developer)
Adds a new developer to the list of developers.
|
||
void |
addLicense(License license)
Adds a new license to the list of licenses.
|
||
java.lang.String |
getArtifactId()
Get the value of artifactId.
|
||
java.lang.String |
getDescription()
Get the value of description.
|
||
java.util.List<Developer> |
getDevelopers()
Returns the list of developers.
|
||
java.lang.String |
getGroupId()
Get the value of groupId.
|
||
java.util.List<License> |
getLicenses()
Returns the list of licenses.
|
||
java.lang.String |
getName()
Get the value of name.
|
||
java.lang.String |
getOrganization()
Get the value of organization.
|
||
java.lang.String |
getOrganizationUrl()
Get the value of organizationUrl.
|
||
java.lang.String |
getParentArtifactId()
Get the value of parentArtifactId.
|
||
java.lang.String |
getParentGroupId()
Get the value of parentGroupId.
|
||
java.lang.String |
getParentVersion()
Get the value of parentVersion.
|
||
java.lang.String |
getProjectURL()
Get the value of projectURL.
|
||
java.lang.String |
getVersion()
Get the value of version.
|
||
void |
processProperties(java.util.Properties properties)
Process the Maven properties file and interpolate all properties.
|
||
void |
setArtifactId(java.lang.String artifactId)
Set the value of artifactId.
|
||
void |
setDescription(java.lang.String description)
Set the value of description.
|
||
void |
setGAVFromPomDotProperties(java.util.Properties pomProperties)
Replaces the group/artifact/version obtained from the `pom.xml` which may
contain variable references with the interpolated values of the
void setGroupId(java.lang.String groupId)
Set the value of groupId.
| ||
void |
setName(java.lang.String name)
Set the value of name.
|
||
void |
setOrganization(java.lang.String organization)
Set the value of organization.
|
||
void |
setOrganizationUrl(java.lang.String organizationUrl)
Set the value of organizationUrl.
|
||
void |
setParentArtifactId(java.lang.String parentArtifactId)
Set the value of parentArtifactId.
|
||
void |
setParentGroupId(java.lang.String parentGroupId)
Set the value of parentGroupId.
|
||
void |
setParentVersion(java.lang.String parentVersion)
Set the value of parentVersion.
|
||
void |
setProjectURL(java.lang.String projectURL)
Set the value of projectURL.
|
||
void |
setVersion(java.lang.String version)
Set the value of version.
|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- new value of namepublic java.lang.String getOrganization()
public void setOrganization(java.lang.String organization)
organization
- new value of organizationpublic java.lang.String getOrganizationUrl()
public void setOrganizationUrl(java.lang.String organizationUrl)
organizationUrl
- new value of organizationUrlpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- new value of descriptionpublic java.lang.String getGroupId()
public void setGroupId(java.lang.String groupId)
groupId
- new value of groupIdpublic java.lang.String getArtifactId()
public void setArtifactId(java.lang.String artifactId)
artifactId
- new value of artifactIdpublic java.lang.String getVersion()
public void setVersion(java.lang.String version)
version
- new value of versionpublic java.lang.String getParentGroupId()
public void setParentGroupId(java.lang.String parentGroupId)
parentGroupId
- new value of parentGroupIdpublic java.lang.String getParentArtifactId()
public void setParentArtifactId(java.lang.String parentArtifactId)
parentArtifactId
- new value of parentArtifactIdpublic java.lang.String getParentVersion()
public void setParentVersion(java.lang.String parentVersion)
parentVersion
- new value of parentVersionpublic java.util.List<License> getLicenses()
public void addLicense(License license)
license
- the license to addpublic java.util.List<Developer> getDevelopers()
public void addDeveloper(Developer developer)
developer
- the developer to addpublic java.lang.String getProjectURL()
public void setProjectURL(java.lang.String projectURL)
projectURL
- new value of projectURLpublic void processProperties(java.util.Properties properties)
properties
- new value of propertiespublic void setGAVFromPomDotProperties(java.util.Properties pomProperties)
pomProperties
- A properties object that holds the properties from a
pom.properties file.Copyright© 2012-21 Jeremy Long. All Rights Reserved.