/** * Returns an <tt>ObservableFeatureToggle</tt> for the given feature name. * * @param featureName Name of the feature * @return toggle for the given feature name */ public ObservableFeatureToggle getFeatureToggle(String featureName) { return getFeatureToggle(getFeatureByName(featureName)); }
/** * Deactivates the feature with the given name * * @param featureName unique name of the feature that should be deactivated */ public void deactivate(String featureName) { deactivate(getFeatureByName(featureName)); } }
/** * Checks if the feature with the given unique name is active * * @param featureName unique name of the feature * @return true if the feature with the given unique name is active */ public boolean isActive(String featureName) { return isActive(getFeatureByName(featureName)); }
/** * Activates the feature with the given name * * @param featureName unique name of the feature that should be activated */ public void activate(String featureName) { activate(getFeatureByName(featureName)); }