public static enum PageFilter.Context extends Enum<PageFilter.Context>
Enum Constant and Description |
---|
CHILD_PAGES
Constant to search in child pages
|
CURRENT_SITE
Constant to search only on current site
|
OTHER_SITES
Constant to search in other sites
|
SITES
Constant to search in all sites
|
Modifier and Type | Method and Description |
---|---|
static PageFilter.Context |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PageFilter.Context[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PageFilter.Context CURRENT_SITE
public static final PageFilter.Context SITES
public static final PageFilter.Context OTHER_SITES
public static final PageFilter.Context CHILD_PAGES
public static PageFilter.Context[] values()
for (PageFilter.Context c : PageFilter.Context.values()) System.out.println(c);
public static PageFilter.Context 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 null