Module org.cryptomator.cryptofs
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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic DiagnosticResult.SeverityReturns the enum constant of this class with the specified name.static DiagnosticResult.Severity[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GOOD
No complains -
INFO
No impact on vault structure, no data lass, but noteworthy.If a fix is present, applying it is recommended.
-
WARN
Compromises vault structure, but no apparent data loss.If a fix is present, applying it is highly advised to prevent data loss.
-
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
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
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 nameNullPointerException- if the argument is null
-