public static enum Rule.Condition extends Enum<Rule.Condition>
<rule/> mean.| Enum Constant and Description |
|---|
DELIVER
The "deliver" condition is used to ensure delivery (or non-delivery) in one of five ways.
|
EXPIRE_AT
The "expire-at" condition is used to ensure delivery before an absolute point in time.
|
MATCH_RESOURCE
The "match-resource" condition is used to restrict delivery based on the resource identifier of the recipient JID.
|
| Modifier and Type | Method and Description |
|---|---|
static Rule.Condition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Rule.Condition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rule.Condition DELIVER
public static final Rule.Condition EXPIRE_AT
public static final Rule.Condition MATCH_RESOURCE
public static Rule.Condition[] values()
for (Rule.Condition c : Rule.Condition.values()) System.out.println(c);
public static Rule.Condition 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–2017 XMPP.rocks. All rights reserved.