public enum InclusionCriteria extends Enum<InclusionCriteria>
SearchQuery
.Enum Constant and Description |
---|
ALL
Associated token must match.
|
ANY
Associated token should match if possible.
|
NONE
Associated token must not match.
|
Modifier and Type | Method and Description |
---|---|
static InclusionCriteria |
get(String token)
Returns the proper
InclusionCriteria value corresponding
to the specified token. |
static InclusionCriteria |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InclusionCriteria[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InclusionCriteria ANY
public static final InclusionCriteria ALL
public static final InclusionCriteria NONE
public static InclusionCriteria[] values()
for (InclusionCriteria c : InclusionCriteria.values()) System.out.println(c);
public static InclusionCriteria 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 nullpublic static InclusionCriteria get(String token)
InclusionCriteria
value corresponding
to the specified token. Returns null if no matching value is found.token
- the token to get the value forCopyright © 2003–2020 Atlassian. All rights reserved.