public enum FeatureFlagType extends java.lang.Enum<FeatureFlagType>
| Enum Constant and Description |
|---|
BETA |
DEPRECATION |
DEV |
RELEASE |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription(java.util.Locale locale) |
java.util.function.Predicate<FeatureFlag> |
getPredicate() |
java.lang.String |
getTitle(java.util.Locale locale) |
boolean |
isUIEnabled() |
static FeatureFlagType |
toFeatureFlagType(java.lang.String string) |
java.lang.String |
toString() |
static FeatureFlagType |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static FeatureFlagType toFeatureFlagType(java.lang.String string)
public java.lang.String getDescription(java.util.Locale locale)
public java.util.function.Predicate<FeatureFlag> getPredicate()
public java.lang.String getTitle(java.util.Locale locale)
public boolean isUIEnabled()
public java.lang.String toString()
toString in class java.lang.Enum<FeatureFlagType>