public enum AdapterType extends Enum<AdapterType>
| Enum Constant and Description |
|---|
CALL |
EMAIL |
FACEBOOK |
PUSH |
SMS |
TWITTER |
USSD |
XMPP |
| Modifier and Type | Method and Description |
|---|---|
static AdapterType |
fromJson(String name) |
static AdapterType |
getByValue(String value)
returns the enum based on the name or the value
|
String |
getName() |
static AdapterType |
valueOf(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 AdapterType[] values()
for (AdapterType c : AdapterType.values()) System.out.println(c);
public static AdapterType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getName()
public static AdapterType getByValue(String value)
value - public static AdapterType fromJson(String name)
Copyright © 2015 AskFast BV. All rights reserved.