com.google.code.facebookapi
Enum AllocationType
java.lang.Object
java.lang.Enum<AllocationType>
com.google.code.facebookapi.AllocationType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<AllocationType>
public enum AllocationType
- extends java.lang.Enum<AllocationType>
A listing of all allocation types used by the Admin.getAllocation method call.
- See Also:
http://wiki.developers.facebook.com/index.php/Admin.getAllocation
|
Method Summary |
java.lang.String |
getName()
Get the name by which Facebook refers to this metric. |
static AllocationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AllocationType[] |
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 |
NOTIFICATIONS_PER_DAY
public static final AllocationType NOTIFICATIONS_PER_DAY
ANNOUNCEMENT_NOTIFICATIONS_PER_WEEK
public static final AllocationType ANNOUNCEMENT_NOTIFICATIONS_PER_WEEK
REQUESTS_PER_DAY
public static final AllocationType REQUESTS_PER_DAY
EMAILS_PER_DAY
public static final AllocationType EMAILS_PER_DAY
EMAIL_DISABLE_MESSAGE_LOCATION
public static final AllocationType EMAIL_DISABLE_MESSAGE_LOCATION
values
public static AllocationType[] 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 (AllocationType c : AllocationType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AllocationType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
getName
public java.lang.String getName()
- Get the name by which Facebook refers to this metric.
- Returns:
- the Facebook-supplied name of this metric.
Copyright © 2010. All Rights Reserved.