public static enum Rule.MatchResourceValue extends Enum<Rule.MatchResourceValue>
Rule.Condition.MATCH_RESOURCE condition.| Enum Constant and Description |
|---|
ANY
Destination resource matches any value, effectively ignoring the intended resource.
|
EXACT
Destination resource exactly matches the intended resource.
|
OTHER
Destination resource matches any value except for the intended resource.
|
| Modifier and Type | Method and Description |
|---|---|
static Rule.MatchResourceValue |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Rule.MatchResourceValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rule.MatchResourceValue ANY
public static final Rule.MatchResourceValue EXACT
public static final Rule.MatchResourceValue OTHER
public static Rule.MatchResourceValue[] values()
for (Rule.MatchResourceValue c : Rule.MatchResourceValue.values()) System.out.println(c);
public static Rule.MatchResourceValue 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 XMPP.rocks. All rights reserved.