@Unstable public enum UserScope extends Enum<UserScope>
Enum Constant and Description |
---|
GLOBAL_ONLY
Only global users are available in the wiki.
|
LOCAL_AND_GLOBAL
Global and local users are both available in the wiki.
|
LOCAL_ONLY
Only local users are available in the wiki.
|
Modifier and Type | Method and Description |
---|---|
static UserScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserScope LOCAL_ONLY
public static final UserScope GLOBAL_ONLY
public static final UserScope LOCAL_AND_GLOBAL
public static UserScope[] values()
for (UserScope c : UserScope.values()) System.out.println(c);
public static UserScope 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–2014 XWiki. All rights reserved.