public static enum WNSPush.CachePolicy extends java.lang.Enum<WNSPush.CachePolicy>
| Modifier and Type | Method and Description |
|---|---|
static WNSPush.CachePolicy |
get(java.lang.String value) |
java.lang.String |
getIdentifier() |
static WNSPush.CachePolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WNSPush.CachePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WNSPush.CachePolicy CACHE
public static final WNSPush.CachePolicy NO_CACHE
public static WNSPush.CachePolicy[] values()
for (WNSPush.CachePolicy c : WNSPush.CachePolicy.values()) System.out.println(c);
public static WNSPush.CachePolicy 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 namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getIdentifier()
public static WNSPush.CachePolicy get(java.lang.String value)