Class Vulnerability
java.lang.Object
org.jenkinsci.plugins.DependencyCheck.model.Vulnerability
- All Implemented Interfaces:
Serializable
Java Bean class for Vulnerability found by DependencyCheck.
- Since:
- 5.0.0
- Author:
- Steve Springett (steve.springett@owasp.org)
- See Also:
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addReference
(Reference reference) boolean
getCwes()
getName()
int
hashCode()
void
void
void
void
setDescription
(String description) void
void
setReferences
(List<Reference> references) void
setSeverity
(String severity) void
setSource
(Vulnerability.Source source) toString()
-
Constructor Details
-
Vulnerability
public Vulnerability()
-
-
Method Details
-
getSource
-
setSource
-
getName
-
setName
-
getDescription
-
setDescription
-
getSeverity
-
setSeverity
-
getCvssV2
-
setCvssV2
-
getCvssV3
-
setCvssV3
-
getCwes
-
setCwes
-
addCwe
-
getReferences
-
setReferences
-
addReference
-
hashCode
public int hashCode() -
equals
-
toString
-