public static enum ExperimentalFeature.Scope extends Enum<ExperimentalFeature.Scope>
Enum Constant and Description |
---|
GLOBAL
Experimental features with GLOBAL scope can only be enabled/disabled by admin users.
|
USER
Experimental features with USER scope can be enabled/disabled by each user.
|
Modifier and Type | Method and Description |
---|---|
static ExperimentalFeature.Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExperimentalFeature.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExperimentalFeature.Scope GLOBAL
public static final ExperimentalFeature.Scope USER
public static ExperimentalFeature.Scope[] values()
for (ExperimentalFeature.Scope c : ExperimentalFeature.Scope.values()) System.out.println(c);
public static ExperimentalFeature.Scope 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 © 2012–2019 JBoss by Red Hat. All rights reserved.