|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<InclusionCriteria> com.atlassian.confluence.macro.query.InclusionCriteria
public enum InclusionCriteria
Match tokens that describe what search constraint should be applied to a
parsed SearchQuery
.
Enum Constant Summary | |
---|---|
ALL
Associated token must match. |
|
ANY
Associated token should match if possible. |
|
NONE
Associated token must not match. |
Method Summary | |
---|---|
static InclusionCriteria |
get(java.lang.String token)
Returns the proper InclusionCriteria value corresponding
to the specified token. |
static InclusionCriteria |
valueOf(java.lang.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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final InclusionCriteria ANY
public static final InclusionCriteria ALL
public static final InclusionCriteria NONE
Method Detail |
---|
public static InclusionCriteria[] values()
for (InclusionCriteria c : InclusionCriteria.values()) System.out.println(c);
public static InclusionCriteria 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 name
java.lang.NullPointerException
- if the argument is nullpublic static InclusionCriteria get(java.lang.String token)
InclusionCriteria
value corresponding
to the specified token. Returns null if no matching value is found.
token
- the token to get the value for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |