Package org.cyclos.model.system.wizards
Enum CustomWizardAction
- java.lang.Object
-
- java.lang.Enum<CustomWizardAction>
-
- org.cyclos.model.system.wizards.CustomWizardAction
-
- All Implemented Interfaces:
Serializable,Comparable<CustomWizardAction>
public enum CustomWizardAction extends Enum<CustomWizardAction>
The possible actions a wizard step
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALREADY_EXECUTEDThis step was previously already executed, and just a message should be displayed to users, together with transitions.EXTERNAL_REDIRECTThis step performs an external redirect of the user to an external system.FINISHThis is a final step.STEPThis step transitions to another step.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CustomWizardActionvalueOf(String name)Returns the enum constant of this type with the specified name.static CustomWizardAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STEP
public static final CustomWizardAction STEP
This step transitions to another step.
-
ALREADY_EXECUTED
public static final CustomWizardAction ALREADY_EXECUTED
This step was previously already executed, and just a message should be displayed to users, together with transitions.
-
FINISH
public static final CustomWizardAction FINISH
This is a final step.
-
EXTERNAL_REDIRECT
public static final CustomWizardAction EXTERNAL_REDIRECT
This step performs an external redirect of the user to an external system. That system calls Cyclos back after finishing a given operation.
-
-
Method Detail
-
values
public static CustomWizardAction[] 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 (CustomWizardAction c : CustomWizardAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CustomWizardAction 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
-
-