Enum QuotaLoad
- java.lang.Object
-
- java.lang.Enum<QuotaLoad>
-
- org.silverpeas.core.admin.quota.constant.QuotaLoad
-
- All Implemented Interfaces:
Serializable
,Comparable<QuotaLoad>
public enum QuotaLoad extends Enum<QuotaLoad>
- Author:
- Yohann Chastagnier
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMPTY
FULL
NOT_ENOUGH
NOT_FULL
OUT_OF_BOUNDS
UNLIMITED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QuotaLoad
valueOf(String name)
Returns the enum constant of this type with the specified name.static QuotaLoad[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNLIMITED
public static final QuotaLoad UNLIMITED
-
EMPTY
public static final QuotaLoad EMPTY
-
NOT_FULL
public static final QuotaLoad NOT_FULL
-
FULL
public static final QuotaLoad FULL
-
NOT_ENOUGH
public static final QuotaLoad NOT_ENOUGH
-
OUT_OF_BOUNDS
public static final QuotaLoad OUT_OF_BOUNDS
-
-
Method Detail
-
values
public static QuotaLoad[] 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 (QuotaLoad c : QuotaLoad.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QuotaLoad 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
-
-