Enum PilotageStatusHelper.PilotageStatus
- java.lang.Object
-
- java.lang.Enum<PilotageStatusHelper.PilotageStatus>
-
- org.ametys.plugins.odfpilotage.helper.PilotageStatusHelper.PilotageStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<PilotageStatusHelper.PilotageStatus>
- Enclosing class:
- PilotageStatusHelper
public static enum PilotageStatusHelper.PilotageStatus extends Enum<PilotageStatusHelper.PilotageStatus>
Enumeration for the pilotage status
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CFVU_MCC_VALIDATED
State 4 : CFVU MCC validatedCFVU_VALIDATED
State 3 : CFVU validatedMENTION_VALIDATED
State 1 : Mention validatedNONE
State 0 : No statusORGUNIT_VALIDATED
State 2 : OrgUnit validated
-
Constructor Summary
Constructors Modifier Constructor Description private
PilotageStatus()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PilotageStatusHelper.PilotageStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static PilotageStatusHelper.PilotageStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final PilotageStatusHelper.PilotageStatus NONE
State 0 : No status
-
MENTION_VALIDATED
public static final PilotageStatusHelper.PilotageStatus MENTION_VALIDATED
State 1 : Mention validated
-
ORGUNIT_VALIDATED
public static final PilotageStatusHelper.PilotageStatus ORGUNIT_VALIDATED
State 2 : OrgUnit validated
-
CFVU_VALIDATED
public static final PilotageStatusHelper.PilotageStatus CFVU_VALIDATED
State 3 : CFVU validated
-
CFVU_MCC_VALIDATED
public static final PilotageStatusHelper.PilotageStatus CFVU_MCC_VALIDATED
State 4 : CFVU MCC validated
-
-
Constructor Detail
-
PilotageStatus
private PilotageStatus()
-
-
Method Detail
-
values
public static PilotageStatusHelper.PilotageStatus[] 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 (PilotageStatusHelper.PilotageStatus c : PilotageStatusHelper.PilotageStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PilotageStatusHelper.PilotageStatus 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
-
-