| Enum Constant and Description |
|---|
email |
emailToSms |
im |
notification |
userEvent |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLabel() |
java.lang.String |
getName() |
java.lang.Class<? extends Push> |
getType() |
boolean |
isEmail() |
boolean |
isEmailToSms() |
boolean |
isIm() |
boolean |
isNotification() |
boolean |
isUserEvent() |
static PushType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PushType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PushType email
public static final PushType emailToSms
public static final PushType im
public static final PushType notification
public static final PushType userEvent
public static PushType[] values()
for (PushType c : PushType.values()) System.out.println(c);
public static PushType 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 getName()
public java.lang.String getLabel()
public java.lang.Class<? extends Push> getType()
public boolean isEmail()
public boolean isEmailToSms()
public boolean isIm()
public boolean isNotification()
public boolean isUserEvent()