Enum Class DiagnosticResult.Severity

java.lang.Object
java.lang.Enum<DiagnosticResult.Severity>
org.cryptomator.cryptofs.health.api.DiagnosticResult.Severity
All Implemented Interfaces:
Serializable, Comparable<DiagnosticResult.Severity>, Constable
Enclosing interface:
DiagnosticResult

public static enum DiagnosticResult.Severity extends Enum<DiagnosticResult.Severity>
  • Enum Constant Details

    • GOOD

      public static final DiagnosticResult.Severity GOOD
      No complains
    • INFO

      public static final DiagnosticResult.Severity INFO
      No impact on vault structure, no data lass, but noteworthy.

      If a fix is present, applying it is recommended.

    • WARN

      public static final DiagnosticResult.Severity WARN
      Compromises vault structure, but no apparent data loss.

      If a fix is present, applying it is highly advised to prevent data loss.

    • CRITICAL

      public static final DiagnosticResult.Severity CRITICAL
      Compromises vault structure, data loss happened.

      Restore from backups is advised. If not possible and a fix present, applying it is recommended to restore vault structure.

  • Method Details

    • values

      public static DiagnosticResult.Severity[] 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 DiagnosticResult.Severity 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