|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Quota.Type>
com.openexchange.mail.Quota.Type
public static enum Quota.Type
Quota.Type - The quota resource type
| Enum Constant Summary | |
|---|---|
MESSAGE
MESSAGE resource: number of messages |
|
STORAGE
STORAGE resource: rfc822.size of contained messages |
|
| Method Summary | |
|---|---|
Quota |
getUnlimited()
Gets constant for unlimited quota for this resource type |
java.lang.String |
toString()
|
static Quota.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Quota.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Quota.Type STORAGE
public static final Quota.Type MESSAGE
| Method Detail |
|---|
public static final Quota.Type[] values()
for(Quota.Type c : Quota.Type.values())
System.out.println(c);
public static Quota.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic java.lang.String toString()
toString in class java.lang.Enum<Quota.Type>public Quota getUnlimited()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||