Package sh.ory.model
Enum SelfServiceSettingsFlowState
- All Implemented Interfaces:
Serializable,Comparable<SelfServiceSettingsFlowState>,java.lang.constant.Constable
public enum SelfServiceSettingsFlowState extends Enum<SelfServiceSettingsFlowState>
show_form: No user data has been collected, or it is invalid, and thus the form should be shown. success: Indicates that the settings flow has been updated successfully with the provided data. Done will stay true when repeatedly checking. If set to true, done will revert back to false only when a flow with invalid (e.g. \"please use a valid phone number\") data was sent.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSelfServiceSettingsFlowState.AdapterNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description static SelfServiceSettingsFlowStatefromValue(String value)StringgetValue()StringtoString()static SelfServiceSettingsFlowStatevalueOf(String name)Returns the enum constant of this type with the specified name.static SelfServiceSettingsFlowState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SHOW_FORM
-
SUCCESS
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
-
toString
- Overrides:
toStringin classEnum<SelfServiceSettingsFlowState>
-
fromValue
-