public class PackageDescriptor extends Object
| Constructor and Description |
|---|
PackageDescriptor(String pm,
String groupId,
String artifactId,
String version)
Create a package descriptor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getGroup()
Get the group ID
|
long |
getId() |
String |
getName()
Get the artifact name
|
String |
getPackageId()
Get a reasonable unique ID for the package.
|
String |
getPmPackageId()
Get a reasonable unique ID for the package, including the package manager name.
|
String |
getVersion()
Get the package version
|
List<VulnerabilityDescriptor> |
getVulnerabilities()
Get vulnerabilities belonging to this package.
|
int |
getVulnerabilityMatches()
Get the total number of vulnerabilities matching the supplied version.
|
int |
getVulnerabilityTotal()
Get the total number of vulnerabilities for the package identified on the server.
|
int |
hashCode() |
String |
toString() |
public long getId()
public List<VulnerabilityDescriptor> getVulnerabilities()
public String getGroup()
public String getName()
public String getVersion()
public int getVulnerabilityTotal()
public int getVulnerabilityMatches()
public String getPmPackageId()
public String getPackageId()
Copyright © 2017. All rights reserved.