Class ProjectLicenseInfo
- java.lang.Object
-
- org.wildfly.maven.plugins.licenses.model.ProjectLicenseInfo
-
public class ProjectLicenseInfo extends Object
Contains the license information for a single project/dependency- Since:
- 1.0
- Author:
- pgier
-
-
Constructor Summary
Constructors Constructor Description ProjectLicenseInfo()Default constructor.ProjectLicenseInfo(String groupId, String artifactId, String version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLicense(org.apache.maven.model.License license)booleanequals(Object compareTo)StringgetArtifactId()StringgetGroupId()StringgetId()The unique ID for the projectStringgetLicenseResolutionResult()List<org.apache.maven.model.License>getLicenses()StringgetVersion()inthashCode()voidsetArtifactId(String artifactId)voidsetGroupId(String groupId)voidsetLicenseResolutionResult(String licenseResolutionResult)voidsetLicenses(List<org.apache.maven.model.License> licenses)voidsetVersion(String version)StringtoString()
-
-
-
Method Detail
-
getLicenseResolutionResult
public String getLicenseResolutionResult()
-
setLicenseResolutionResult
public void setLicenseResolutionResult(String licenseResolutionResult)
-
getGroupId
public String getGroupId()
-
setGroupId
public void setGroupId(String groupId)
-
getArtifactId
public String getArtifactId()
-
setArtifactId
public void setArtifactId(String artifactId)
-
getVersion
public String getVersion()
-
setVersion
public void setVersion(String version)
-
getLicenses
public List<org.apache.maven.model.License> getLicenses()
-
setLicenses
public void setLicenses(List<org.apache.maven.model.License> licenses)
-
addLicense
public void addLicense(org.apache.maven.model.License license)
-
getId
public String getId()
The unique ID for the project- Returns:
- String containing "groupId:artifactId"
-
-