org.apache.camel.component.smpp
Enum SmppMessageType
java.lang.Object
java.lang.Enum<SmppMessageType>
org.apache.camel.component.smpp.SmppMessageType
- All Implemented Interfaces:
- Serializable, Comparable<SmppMessageType>
public enum SmppMessageType
- extends Enum<SmppMessageType>
Method Summary |
static SmppMessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SmppMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
AlertNotification
public static final SmppMessageType AlertNotification
DataSm
public static final SmppMessageType DataSm
DeliveryReceipt
public static final SmppMessageType DeliveryReceipt
DeliverSm
public static final SmppMessageType DeliverSm
values
public static SmppMessageType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (SmppMessageType c : SmppMessageType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SmppMessageType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Apache Camel