@Unstable public enum WikiTarget extends Enum<WikiTarget>
Enum Constant and Description |
---|
ALL
Search in all wikis.
|
ENTITY
Search in the entity's wiki only.
|
ENTITY_AND_CURRENT
Search in the entity's wiki and the current wiki.
|
Modifier and Type | Method and Description |
---|---|
static WikiTarget |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WikiTarget[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WikiTarget ENTITY
public static final WikiTarget ENTITY_AND_CURRENT
public static final WikiTarget ALL
public static WikiTarget[] values()
for (WikiTarget c : WikiTarget.values()) System.out.println(c);
public static WikiTarget 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 © 2004–2019 XWiki. All rights reserved.