|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Gateway.Feature>
esmska.data.Gateway.Feature
public static enum Gateway.Feature
This enum attributes indicate which various features are supported by a given gateway.
Enum Constant Summary | |
---|---|
CAPTCHA
This gateway requires (always or in some circumstances) transcribing a security code (captcha). |
|
LOGIN
The gateway supports logging in with username and password, but also works without it. |
|
LOGIN_ONLY
The gateway requires login with username and password. |
|
RECEIPT
The gateway will send a delivery report upon request. |
|
SENDER_NAME
The gateway will append sender's name into the message if provided. |
|
SENDER_NUMBER
The gateway is able to send a message as if it was coming from the specified sender's cell number. |
Method Summary | |
---|---|
static Gateway.Feature |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Gateway.Feature[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Gateway.Feature LOGIN
public static final Gateway.Feature LOGIN_ONLY
public static final Gateway.Feature SENDER_NUMBER
public static final Gateway.Feature SENDER_NAME
public static final Gateway.Feature RECEIPT
public static final Gateway.Feature CAPTCHA
Method Detail |
---|
public static Gateway.Feature[] values()
for (Gateway.Feature c : Gateway.Feature.values()) System.out.println(c);
public static Gateway.Feature 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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |