Class ProjectLicenseInfo
java.lang.Object
org.wildfly.maven.plugins.licenses.model.ProjectLicenseInfo
Contains the license information for a single project/dependency
- Since:
- 1.0
- Author:
- pgier
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ProjectLicenseInfo(String groupId, String artifactId, String version) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLicense(org.apache.maven.model.License license) booleangetId()The unique ID for the projectList<org.apache.maven.model.License>inthashCode()voidsetArtifactId(String artifactId) voidsetGroupId(String groupId) voidsetLicenseResolutionResult(String licenseResolutionResult) voidsetLicenses(List<org.apache.maven.model.License> licenses) voidsetVersion(String version) toString()
-
Constructor Details
-
ProjectLicenseInfo
public ProjectLicenseInfo()Default constructor. -
ProjectLicenseInfo
-
-
Method Details
-
getLicenseResolutionResult
-
setLicenseResolutionResult
-
getGroupId
-
setGroupId
-
getArtifactId
-
setArtifactId
-
getVersion
-
setVersion
-
getLicenses
-
setLicenses
-
addLicense
public void addLicense(org.apache.maven.model.License license) -
getId
The unique ID for the project- Returns:
- String containing "groupId:artifactId"
-
toString
-
equals
-
hashCode
public int hashCode()
-