public static enum AMPDeliverCondition.Value extends Enum<AMPDeliverCondition.Value>
Enum Constant and Description |
---|
direct
The message would be immediately delivered to the intended recipient or routed to the next hop.
|
forward
The message would be forwarded to another XMPP address or account.
|
gateway
The message would be sent through a gateway to an address or account on a non-XMPP system.
|
none
The message would not be delivered at all (e.g., because the intended recipient is offline and message storage is not enabled).
|
stored
The message would be stored offline for later delivery to the intended recipient.
|
Modifier and Type | Method and Description |
---|---|
static AMPDeliverCondition.Value |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AMPDeliverCondition.Value[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AMPDeliverCondition.Value direct
public static final AMPDeliverCondition.Value forward
public static final AMPDeliverCondition.Value gateway
public static final AMPDeliverCondition.Value none
public static final AMPDeliverCondition.Value stored
public static AMPDeliverCondition.Value[] values()
for (AMPDeliverCondition.Value c : AMPDeliverCondition.Value.values()) System.out.println(c);
public static AMPDeliverCondition.Value 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 null