org.silverpeas.quota.constant
Enum QuotaLoad

java.lang.Object
  extended by java.lang.Enum<QuotaLoad>
      extended by org.silverpeas.quota.constant.QuotaLoad
All Implemented Interfaces:
Serializable, Comparable<QuotaLoad>

public enum QuotaLoad
extends Enum<QuotaLoad>

Author:
Yohann Chastagnier

Enum Constant Summary
EMPTY
           
FULL
           
NOT_ENOUGH
           
NOT_FULL
           
OUT_OF_BOUNDS
           
UNLIMITED
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - if the argument is null


Copyright © 2016 Silverpeas. All Rights Reserved.