Enum Class ReviewResult

java.lang.Object
java.lang.Enum<ReviewResult>
org.xwiki.extension.index.security.review.ReviewResult
All Implemented Interfaces:
Serializable, Comparable<ReviewResult>, Constable

@Unstable public enum ReviewResult extends Enum<ReviewResult>
The review result of a vulnerability.
Since:
15.6RC1
Version:
$Id: 3391980c22de01c5108885dc69c8dfe05d83fecb $
  • Enum Constant Details

    • SAFE

      public static final ReviewResult SAFE
      When the conclusion of the analysis is that the vulnerability is safe.
    • UNSAFE

      public static final ReviewResult UNSAFE
      When the conclusion of the analysis is that the vulnerability can be unsafe.
  • Method Details

    • values

      public static ReviewResult[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ReviewResult valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null