Enum Class SeedPasswordCheck.Outcome
- All Implemented Interfaces:
Serializable, Comparable<SeedPasswordCheck.Outcome>, Constable
- Enclosing class:
SeedPasswordCheck
What the check did for an administrator found with the password of the script.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA built server: the former backup administrator was disabled.A built server: the next sign-in must change the password.A built server: a generated password replaced it, shown once and written to the file.Development mode: the password is kept, the change is not forced.A built server: the former backup administrator was disabled already and stays so.A built server: a seeded user that is no administrator was disabled (SG-4).A built server: a seeded user that is no administrator was disabled already and stays so.Method Summary
Modifier and TypeMethodDescriptionstatic SeedPasswordCheck.OutcomeReturns the enum constant of this class with the specified name.static SeedPasswordCheck.Outcome[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
KEPT
Development mode: the password is kept, the change is not forced.FORCED
A built server: the next sign-in must change the password.GENERATED
A built server: a generated password replaced it, shown once and written to the file.DISABLED
A built server: the former backup administrator was disabled.LEFT_DISABLED
A built server: the former backup administrator was disabled already and stays so.USER_DISABLED
A built server: a seeded user that is no administrator was disabled (SG-4).USER_LEFT_DISABLED
A built server: a seeded user that is no administrator was disabled already and stays so.
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