Package org.ametys.odf.course
Enum ShareableCourseStatusHelper.ShareableStatus
- java.lang.Object
-
- java.lang.Enum<ShareableCourseStatusHelper.ShareableStatus>
-
- org.ametys.odf.course.ShareableCourseStatusHelper.ShareableStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<ShareableCourseStatusHelper.ShareableStatus>
- Enclosing class:
- ShareableCourseStatusHelper
public static enum ShareableCourseStatusHelper.ShareableStatus extends Enum<ShareableCourseStatusHelper.ShareableStatus>
Enumeration for the shareable course status
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ShareableStatus()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ShareableCourseStatusHelper.ShareableStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static ShareableCourseStatusHelper.ShareableStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ShareableCourseStatusHelper.ShareableStatus NONE
Aucun
-
PROPOSED
public static final ShareableCourseStatusHelper.ShareableStatus PROPOSED
Proposé
-
VALIDATED
public static final ShareableCourseStatusHelper.ShareableStatus VALIDATED
Validé
-
REFUSED
public static final ShareableCourseStatusHelper.ShareableStatus REFUSED
Refusé
-
-
Constructor Detail
-
ShareableStatus
private ShareableStatus()
-
-
Method Detail
-
values
public static ShareableCourseStatusHelper.ShareableStatus[] 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 (ShareableCourseStatusHelper.ShareableStatus c : ShareableCourseStatusHelper.ShareableStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ShareableCourseStatusHelper.ShareableStatus 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
-
-