Enum CustomWizardStepNature
- java.lang.Object
-
- java.lang.Enum<CustomWizardStepNature>
-
- org.cyclos.model.system.wizardsteps.CustomWizardStepNature
-
- All Implemented Interfaces:
Serializable,Comparable<CustomWizardStepNature>,HasMessageKey
public enum CustomWizardStepNature extends Enum<CustomWizardStepNature> implements HasMessageKey
Types of a custom wizard step
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMAIL_VERIFICATIONUsed to verify a previously entered email addressFORM_FIELDSUsed to display arbitrary fieldsGROUPUsed to select a group for registrationIDENTITY_PROVIDERUsed to select an identity provider for registrationPHONE_VERIFICATIONUsed to verify a previously entered mobile phone number
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageKeygetMessageKey()static CustomWizardStepNaturevalueOf(String name)Returns the enum constant of this type with the specified name.static CustomWizardStepNature[]values()Returns an array containing the constants of this enum type, in the order they are declared.Set<CustomWizardNature>wizardNatures()
-
-
-
Enum Constant Detail
-
GROUP
public static final CustomWizardStepNature GROUP
Used to select a group for registration
-
IDENTITY_PROVIDER
public static final CustomWizardStepNature IDENTITY_PROVIDER
Used to select an identity provider for registration
-
FORM_FIELDS
public static final CustomWizardStepNature FORM_FIELDS
Used to display arbitrary fields
-
EMAIL_VERIFICATION
public static final CustomWizardStepNature EMAIL_VERIFICATION
Used to verify a previously entered email address
-
PHONE_VERIFICATION
public static final CustomWizardStepNature PHONE_VERIFICATION
Used to verify a previously entered mobile phone number
-
-
Method Detail
-
values
public static CustomWizardStepNature[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CustomWizardStepNature c : CustomWizardStepNature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CustomWizardStepNature valueOf(String name)
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
-
getMessageKey
public MessageKey getMessageKey()
- Specified by:
getMessageKeyin interfaceHasMessageKey
-
wizardNatures
public Set<CustomWizardNature> wizardNatures()
-
-