Package org.nwolfhub.vk.longpoll
Enum Update.Type
- java.lang.Object
-
- java.lang.Enum<Update.Type>
-
- org.nwolfhub.vk.longpoll.Update.Type
-
- All Implemented Interfaces:
Serializable,Comparable<Update.Type>
- Enclosing class:
- Update
public static enum Update.Type extends Enum<Update.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description message_allowmessage_denymessage_newnot_supportedwall_post_new
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Update.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static Update.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
message_new
public static final Update.Type message_new
-
message_allow
public static final Update.Type message_allow
-
message_deny
public static final Update.Type message_deny
-
wall_post_new
public static final Update.Type wall_post_new
-
not_supported
public static final Update.Type not_supported
-
-
Method Detail
-
values
public static Update.Type[] 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 (Update.Type c : Update.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Update.Type 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
-
-