public class MavenPackageDescriptor extends MavenIdWrapper
artifactId, groupId, version| Constructor and Description |
|---|
MavenPackageDescriptor()
Constructor required by jaxb
|
MavenPackageDescriptor(OssiPackage pkg) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
getAllVulnerabilityCount()
Get the number of vulnerabilities matching the supplied version, prior to any exclusions and filtering.
|
MavenIdWrapper |
getParent() |
java.util.List<OssiVulnerability> |
getVulnerabilities()
Get vulnerabilities belonging to this package.
|
int |
getVulnerabilityMatches()
Get the total number of vulnerabilities matching the supplied version.
|
int |
hashCode() |
void |
setParent(MavenIdWrapper parent) |
getArtifactId, getGroupId, getMavenPackageId, getMavenVersionId, getVersion, setArtifactId, setGroupId, setVersionpublic MavenPackageDescriptor()
public MavenPackageDescriptor(OssiPackage pkg)
public void setParent(MavenIdWrapper parent)
public MavenIdWrapper getParent()
public int getAllVulnerabilityCount()
public int getVulnerabilityMatches()
public java.util.List<OssiVulnerability> getVulnerabilities()
public int hashCode()
hashCode in class MavenIdWrapperpublic boolean equals(java.lang.Object obj)
equals in class MavenIdWrapper