public static enum Rule.DeliveryMode extends java.lang.Enum<Rule.DeliveryMode>
The possible values for the Rule.Condition.DELIVER
condition.
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 Rule.DeliveryMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Rule.DeliveryMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rule.DeliveryMode DIRECT
public static final Rule.DeliveryMode FORWARD
public static final Rule.DeliveryMode GATEWAY
public static final Rule.DeliveryMode NONE
public static final Rule.DeliveryMode STORED
public static Rule.DeliveryMode[] values()
for (Rule.DeliveryMode c : Rule.DeliveryMode.values()) System.out.println(c);
public static Rule.DeliveryMode 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 namejava.lang.NullPointerException
- if the argument is nullCopyright © 2014–2019 XMPP.rocks. All rights reserved.