Class AppSecData.VulnerabilityAssessment

java.lang.Object
com.vaadin.appsec.backend.model.AppSecData.VulnerabilityAssessment
Enclosing class:
AppSecData

public static class AppSecData.VulnerabilityAssessment extends Object
Data object to store the analysis status of a single vulnerability.
  • Constructor Details

    • VulnerabilityAssessment

      public VulnerabilityAssessment()
  • Method Details

    • getId

      public String getId()
      Gets the vulnerability ID.
      Returns:
      the vulnerability ID
    • setId

      public void setId(String id)
      Sets the vulnerability ID.
      Parameters:
      id - the vulnerability ID
    • getUpdated

      public Instant getUpdated()
      Gets the timestamp of the most recent analysis update.
      Returns:
      the timestamp
    • setUpdated

      public void setUpdated(Instant updated)
      Sets the timestamp of the most recent analysis update.
      Parameters:
      updated - the timestamp
    • getDeveloperAnalysis

      public String getDeveloperAnalysis()
      Gets the developer analysis.
      Returns:
      the developer analysis
    • setDeveloperAnalysis

      public void setDeveloperAnalysis(String developerAnalysis)
      Sets the developer analysis.
      Parameters:
      developerAnalysis - the developer analysis
    • getStatus

      public AppSecData.VulnerabilityStatus getStatus()
      Gets the status.
      Returns:
      the status
    • setStatus

      public void setStatus(AppSecData.VulnerabilityStatus status)
      Sets the status.
      Parameters:
      status - the status
    • hashCode

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

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