com.mageddo.togglefirst.jmx.FeatureSwitchJMXMBean Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of toggle-first-core Show documentation
Show all versions of toggle-first-core Show documentation
Enable and disable your features in production on a button click
package com.mageddo.togglefirst.jmx;
public interface FeatureSwitchJMXMBean {
String getMetadata(String feature) throws Exception;
String setMetadata(String featureName, String jsonMetadata) throws Exception;
String getMetadata(String feature, String user) throws Exception;
String activate(String name);
String activate(String name, String value);
String userActivate(String name, String user);
String userActivate(String name, String user, String value);
String deactivate(String name);
String userDeactivate(String name, String user);
}