public static enum Rule.MatchResource extends java.lang.Enum<Rule.MatchResource>
The possible values for the 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(java.lang.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(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.