public enum AdapterType extends java.lang.Enum<AdapterType>
| Enum Constant and Description |
|---|
CALL |
EMAIL |
FACEBOOK |
PAGER |
PUSH |
SMS |
TWITTER |
USSD |
XMPP |
| Modifier and Type | Method and Description |
|---|---|
static AdapterType |
fromJson(java.lang.String name) |
static AdapterType |
getByValue(java.lang.String value)
returns the enum based on the name or the value
|
java.lang.String |
getName() |
static AdapterType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AdapterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdapterType XMPP
public static final AdapterType SMS
public static final AdapterType CALL
public static final AdapterType EMAIL
public static final AdapterType FACEBOOK
public static final AdapterType USSD
public static final AdapterType PUSH
public static final AdapterType TWITTER
public static final AdapterType PAGER
public static AdapterType[] values()
for (AdapterType c : AdapterType.values()) System.out.println(c);
public static AdapterType 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 static AdapterType getByValue(java.lang.String value)
value - The value that is searched onpublic static AdapterType fromJson(java.lang.String name)
Copyright © 2018 AskFast BV. All Rights Reserved.