Class Review
java.lang.Object
org.xwiki.extension.index.security.review.Review
Contains the metadata relative to the review of a vulnerability.
- Since:
- 15.6RC1
- Version:
- $Id: 1ee0bc88c2a226ccc6aea6d2e88560fa7216cc6a $
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
void
setEmitter
(String emitter) void
setExplanation
(String explanation) void
void
setResult
(ReviewResult result) toString()
-
Constructor Details
-
Review
public Review()
-
-
Method Details
-
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
- Parameters:
emitter
- thesource
of the analysis (e.g.,xwiki-platform
, or the name of the extension for which the analysis has been done)
-
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
- Parameters:
explanation
- the textual explanation, detailing why a given CVE should not be considered as a security vulnerability in the context of thesource
-
getResult
- Returns:
- the result of the vulnerability review
-
setResult
- Parameters:
result
- the result of the vulnerability review
-
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
- Parameters:
filter
- a regex filter, whennull
the review is always used, otherwise it is only used if the regex is matching the extension id of an installed extension
-
equals
-
hashCode
public int hashCode() -
toString
-