public class Feature
extends java.lang.Object
Constructor and Description |
---|
Feature() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isFeatureEnabled(java.lang.String featureName) |
static void |
setFeatureEnabled(java.lang.String featureName,
boolean enabled) |
static void |
withFeature(java.lang.String featureName,
java.lang.Runnable runnable) |
public static boolean isFeatureEnabled(@Nonnull java.lang.String featureName)
public static void setFeatureEnabled(@Nonnull java.lang.String featureName, boolean enabled)
public static void withFeature(@Nonnull java.lang.String featureName, @Nonnull java.lang.Runnable runnable)