java.lang.Object
org.xwiki.extension.index.security.review.Review

@Unstable public class Review extends Object
Contains the metadata relative to the review of a vulnerability.
Since:
15.6RC1
Version:
$Id: 1ee0bc88c2a226ccc6aea6d2e88560fa7216cc6a $
  • Constructor Details

    • Review

      public Review()
  • Method Details

    • getEmitter

      public String getEmitter()
      Returns:
      the source of the analysis (e.g., xwiki-platform, or the name of the extension for which the analysis has been done)
    • setEmitter

      public void setEmitter(String emitter)
      Parameters:
      emitter - the source of the analysis (e.g., xwiki-platform, or the name of the extension for which the analysis has been done)
    • getExplanation

      public String getExplanation()
      Returns:
      the textual explanation, detailing why a given CVE should not be considered as a security vulnerability in the context of the source
    • setExplanation

      public void setExplanation(String explanation)
      Parameters:
      explanation - the textual explanation, detailing why a given CVE should not be considered as a security vulnerability in the context of the source
    • getResult

      public ReviewResult getResult()
      Returns:
      the result of the vulnerability review
    • setResult

      public void setResult(ReviewResult result)
      Parameters:
      result - the result of the vulnerability review
    • getFilter

      public String getFilter()
      Returns:
      a regex filter, when null the review is always used, otherwise it is only used if the regex is matching the extension id of an installed extension
    • setFilter

      public void setFilter(String filter)
      Parameters:
      filter - a regex filter, when null the review is always used, otherwise it is only used if the regex is matching the extension id of an installed extension
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object