public enum DefaultScopes extends Enum<DefaultScopes>
Enum Constant and Description |
---|
ALL_USERS
Scope type responsible to store preferences for all users.
|
COMPONENT
Scope type responsible to store preferences separately for each component.
|
ENTIRE_APPLICATION
Scope type responsible to store preferences for the entire application.
|
USER
Scope type responsible to store preferences separately for each username.
|
Modifier and Type | Method and Description |
---|---|
String |
type() |
static DefaultScopes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultScopes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultScopes ALL_USERS
public static final DefaultScopes ENTIRE_APPLICATION
public static final DefaultScopes COMPONENT
public static final DefaultScopes USER
public static DefaultScopes[] values()
for (DefaultScopes c : DefaultScopes.values()) System.out.println(c);
public static DefaultScopes 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 String type()
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.