Class Dependency
java.lang.Object
org.jenkinsci.plugins.DependencyCheck.model.Dependency
- All Implemented Interfaces:
Serializable
Java Bean class for a Dependency found by DependencyCheck.
- Since:
- 5.0.0
- Author:
- Steve Springett (steve.springett@owasp.org)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProjectReference(String projectReference) voidaddVulnerability(Vulnerability vulnerability) booleangetMd5()getSha1()inthashCode()voidsetDescription(String description) voidsetFileName(String fileName) voidsetFilePath(String filePath) voidsetLicense(String license) voidvoidsetProjectReferences(List<String> projectReferences) voidvoidvoidsetVulnerabilities(List<Vulnerability> vulnerabilities) toString()
-
Constructor Details
-
Dependency
public Dependency()
-
-
Method Details
-
getFileName
-
setFileName
-
getFilePath
-
setFilePath
-
getMd5
-
setMd5
-
getSha1
-
setSha1
-
getSha256
-
setSha256
-
getDescription
-
setDescription
-
getLicense
-
setLicense
-
getVulnerabilities
-
setVulnerabilities
-
addVulnerability
-
getProjectReferences
-
setProjectReferences
-
addProjectReference
-
hashCode
public int hashCode() -
equals
-
toString
-