public static enum Rule.DeliverValue extends Enum<Rule.DeliverValue>
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.DeliverValue |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Rule.DeliverValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rule.DeliverValue DIRECT
public static final Rule.DeliverValue FORWARD
public static final Rule.DeliverValue GATEWAY
public static final Rule.DeliverValue NONE
public static final Rule.DeliverValue STORED
public static Rule.DeliverValue[] values()
for (Rule.DeliverValue c : Rule.DeliverValue.values()) System.out.println(c);
public static Rule.DeliverValue 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 nullCopyright © 2014–2015 XMPP.rocks. All rights reserved.