Class Vulnerability

java.lang.Object
org.jenkinsci.plugins.DependencyCheck.model.Vulnerability
All Implemented Interfaces:
Serializable

public class Vulnerability extends Object implements Serializable
Java Bean class for Vulnerability found by DependencyCheck.
Since:
5.0.0
Author:
Steve Springett (steve.springett@owasp.org)
See Also:
  • Constructor Details

    • Vulnerability

      public Vulnerability()
  • Method Details

    • getSource

      public Vulnerability.Source getSource()
    • setSource

      public void setSource(Vulnerability.Source source)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getSeverity

      public String getSeverity()
    • setSeverity

      public void setSeverity(String severity)
    • getCvssV2

      public CvssV2 getCvssV2()
    • setCvssV2

      public void setCvssV2(CvssV2 cvssV2)
    • getCvssV3

      public CvssV3 getCvssV3()
    • setCvssV3

      public void setCvssV3(CvssV3 cvssV3)
    • getCwes

      public List<String> getCwes()
    • setCwes

      public void setCwes(List<String> cwes)
    • addCwe

      public void addCwe(String cwe)
    • getReferences

      public List<Reference> getReferences()
    • setReferences

      public void setReferences(List<Reference> references)
    • addReference

      public void addReference(Reference reference)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object