public static enum Rule.MatchResource extends Enum<Rule.MatchResource>
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.MatchResource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Rule.MatchResource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rule.MatchResource ANY
public static final Rule.MatchResource EXACT
public static final Rule.MatchResource OTHER
public static Rule.MatchResource[] values()
for (Rule.MatchResource c : Rule.MatchResource.values()) System.out.println(c);
public static Rule.MatchResource 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–2018 XMPP.rocks. All rights reserved.