Enum WizardState
- java.lang.Object
-
- java.lang.Enum<WizardState>
-
- org.nuiton.jaxx.runtime.swing.wizard.ext.WizardState
-
- All Implemented Interfaces:
Serializable,Comparable<WizardState>
public enum WizardState extends Enum<WizardState>
Pour caractériser l'état d'une opération.- Author:
- Tony Chemit - dev@tchemit.fr
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELEDquand l'opération est annulé en cours d'exécutionFAILEDquand une erreur s'est produite pendant l'exécutionNEED_FIXquand l'exécution s'est terminée mais requière des correctionsPENDINGquand l'opération n'a pas encore été réaliséeRUNNINGquand l'opération est en coursSUCCESSEDquand l'exécution s'est terminée et ne requière pas de correction
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WizardStatevalueOf(String name)Returns the enum constant of this type with the specified name.static WizardState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PENDING
public static final WizardState PENDING
quand l'opération n'a pas encore été réalisée
-
RUNNING
public static final WizardState RUNNING
quand l'opération est en cours
-
CANCELED
public static final WizardState CANCELED
quand l'opération est annulé en cours d'exécution
-
FAILED
public static final WizardState FAILED
quand une erreur s'est produite pendant l'exécution
-
NEED_FIX
public static final WizardState NEED_FIX
quand l'exécution s'est terminée mais requière des corrections
-
SUCCESSED
public static final WizardState SUCCESSED
quand l'exécution s'est terminée et ne requière pas de correction
-
-
Method Detail
-
values
public static WizardState[] 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 (WizardState c : WizardState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WizardState 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
-
-