public enum FeatureFlagType extends Enum<FeatureFlagType>
Enum Constant and Description |
---|
BETA |
DEPRECATION |
DEV |
RELEASE |
Modifier and Type | Method and Description |
---|---|
String |
getDescription(Locale locale) |
Predicate<FeatureFlag> |
getPredicate() |
String |
getTitle(Locale locale) |
boolean |
isUIEnabled() |
static FeatureFlagType |
toFeatureFlagType(String string) |
String |
toString() |
static FeatureFlagType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FeatureFlagType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FeatureFlagType BETA
public static final FeatureFlagType DEPRECATION
public static final FeatureFlagType DEV
public static final FeatureFlagType RELEASE
public static FeatureFlagType[] values()
for (FeatureFlagType c : FeatureFlagType.values()) System.out.println(c);
public static FeatureFlagType 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 static FeatureFlagType toFeatureFlagType(String string)
public String getDescription(Locale locale)
public Predicate<FeatureFlag> getPredicate()
public String getTitle(Locale locale)
public boolean isUIEnabled()
public String toString()
toString
in class Enum<FeatureFlagType>