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 |
|---|---|
MavenIdWrapper |
getParent() |
int |
getUnfilteredVulnerabilityCount()
Get the number of vulnerabilities matching the supplied version, prior to any exclusions and filtering.
|
java.util.List<OssiVulnerability> |
getVulnerabilities()
Get vulnerabilities belonging to this package.
|
int |
getVulnerabilityMatches()
Get the total number of vulnerabilities matching the supplied version.
|
void |
setParent(MavenIdWrapper parent) |
equals, getArtifactId, getGroupId, getMavenPackageId, getMavenVersionId, getVersion, hashCode, setArtifactId, setGroupId, setVersionpublic MavenPackageDescriptor()
public MavenPackageDescriptor(OssiPackage pkg)
public void setParent(MavenIdWrapper parent)
public MavenIdWrapper getParent()
public int getUnfilteredVulnerabilityCount()
public int getVulnerabilityMatches()
public java.util.List<OssiVulnerability> getVulnerabilities()