Enum Class BreakGlassReset.Outcome
- All Implemented Interfaces:
Serializable, Comparable<BreakGlassReset.Outcome>, Constable
- Enclosing class:
BreakGlassReset
What a start did.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe reset failed (logged SEVERE); the transaction is rolled back, nothing changed; the file deleted.The file names no account, or more than one: ignored with a SEVERE, deleted.The file names an account the database has not: ignored with a SEVERE, deleted.There is no file: nothing was done, nothing logged.The factors were reset and the next sign-in waived - the counts say what there was - with the SEVERE; the file deleted.Method Summary
Modifier and TypeMethodDescriptionstatic BreakGlassReset.OutcomeReturns the enum constant of this class with the specified name.static BreakGlassReset.Outcome[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
NO_FILE
There is no file: nothing was done, nothing logged.MALFORMED
The file names no account, or more than one: ignored with a SEVERE, deleted.NO_ACCOUNT
The file names an account the database has not: ignored with a SEVERE, deleted.RESET
The factors were reset and the next sign-in waived - the counts say what there was - with the SEVERE; the file deleted.FAILED
The reset failed (logged SEVERE); the transaction is rolled back, nothing changed; the file deleted.
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