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 |
|---|---|
String |
getGroup()
Get the group ID
|
String |
getName()
Get the artifact 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.
|
String |
toString() |
public List<VulnerabilityDescriptor> getVulnerabilities()
public String getGroup()
public String getName()
public String getVersion()
public int getVulnerabilityTotal()
public int getVulnerabilityMatches()
Copyright © 2017. All rights reserved.