public class FeatureTogglesRestService extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
| Constructor and Description |
|---|
FeatureTogglesRestService() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
featureSwitch(String featureName,
String active)
Allows superusers to switch on or off a feature, then redirects them to the portal homepage.
|
public javax.ws.rs.core.Response featureSwitch(String featureName, String active) throws Exception
featureName - Name of the feature.active - Its value must be "yes" or "no" that switches on or off the feature respectively.ExceptionCopyright © 2003–2020 eXo Platform SAS. All rights reserved.