java.lang.Object
io.github.jeremylong.openvulnerability.client.ghsa.CVSS
All Implemented Interfaces:
Serializable

public class CVSS extends Object implements Serializable
The Common Vulnerability Scoring System.
 type CVSS
 
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serialization version UID.
      See Also:
    • score

      Double score
      The CVSS score.
    • vectorString

      String vectorString
      The CVSS vector string.
  • Constructor Details

    • CVSS

      public CVSS()
  • Method Details

    • getScore

      public Double getScore()
      The CVSS score associated with this advisory.
      Returns:
      the CVSS score.
    • getVectorString

      public String getVectorString()
      The CVSS vector string associated with this advisory.
      Returns:
      the CVSS vector.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object