public class ProjectLicenseInfo extends Object
| Constructor and Description |
|---|
ProjectLicenseInfo()
Default constructor.
|
ProjectLicenseInfo(String groupId,
String artifactId,
String version) |
ProjectLicenseInfo(String groupId,
String artifactId,
String version,
boolean hasMatchLicenses) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDownloaderMessage(String message) |
void |
addLicense(ProjectLicense license) |
void |
addMatchLicense(ProjectLicense license) |
List<ProjectLicense> |
cloneLicenses() |
boolean |
deepEquals(ProjectLicenseInfo other) |
boolean |
equals(Object compareTo) |
String |
getArtifactId() |
List<String> |
getDownloaderMessages() |
String |
getGroupId() |
String |
getId()
The unique ID for the project
|
List<ProjectLicense> |
getLicenses() |
List<ProjectLicense> |
getMatchLicenses() |
String |
getVersion() |
int |
hashCode() |
boolean |
hasMatchLicenses() |
boolean |
isApproved() |
void |
setApproved(boolean approved) |
void |
setArtifactId(String artifactId) |
void |
setGroupId(String groupId) |
void |
setHasMatchLicenses(boolean hasMatchLicenses) |
void |
setLicenses(List<ProjectLicense> licenses) |
void |
setMatchLicenses(List<ProjectLicense> matchLicenses) |
void |
setVersion(String version) |
String |
toGavString() |
String |
toString() |
public String getGroupId()
public void setGroupId(String groupId)
public String getArtifactId()
public void setArtifactId(String artifactId)
public String getVersion()
public void setVersion(String version)
public List<ProjectLicense> getLicenses()
public void setLicenses(List<ProjectLicense> licenses)
public void addLicense(ProjectLicense license)
public List<ProjectLicense> getMatchLicenses()
public void setMatchLicenses(List<ProjectLicense> matchLicenses)
public void addMatchLicense(ProjectLicense license)
public boolean hasMatchLicenses()
public void setHasMatchLicenses(boolean hasMatchLicenses)
public String getId()
public void addDownloaderMessage(String message)
public String toGavString()
public boolean deepEquals(ProjectLicenseInfo other)
public List<ProjectLicense> cloneLicenses()
licensespublic void setApproved(boolean approved)
public boolean isApproved()
Copyright © 2010–2019 MojoHaus. All rights reserved.