|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<GatewayVariable>
esmska.transfer.GatewayVariable
public enum GatewayVariable
Enum of gateway variables applicable in the gateway script. Beware that values of all these variables are encoded in the x-www-form-urlencoded format (which you would want to use anyway, except maybe for some format checking of recepient and sender number).
Enum Constant Summary | |
---|---|
LOGIN
Login name to the gateway website |
|
MESSAGE
Text of the SMS message |
|
NUMBER
Phone number in fully international format +[0-9]{1,15} |
|
PASSWORD
Password to the gateway website |
|
RECEIPT
This string is non-empty if a delivery report should be sent |
|
SENDERNAME
Name of the sender |
|
SENDERNUMBER
Phone number of the sender in fully international format +[0-9]{1,15} |
Method Summary | |
---|---|
static GatewayVariable |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static GatewayVariable[] |
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 GatewayVariable NUMBER
public static final GatewayVariable MESSAGE
public static final GatewayVariable SENDERNAME
public static final GatewayVariable SENDERNUMBER
public static final GatewayVariable LOGIN
public static final GatewayVariable PASSWORD
public static final GatewayVariable RECEIPT
Method Detail |
---|
public static GatewayVariable[] values()
for (GatewayVariable c : GatewayVariable.values()) System.out.println(c);
public static GatewayVariable 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 |