no.finn.unleash.Unleash Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of unleash-client-java Show documentation
Show all versions of unleash-client-java Show documentation
A client library for Unleash
package no.finn.unleash;
import java.util.List;
public interface Unleash {
boolean isEnabled(String toggleName);
boolean isEnabled(String toggleName, boolean defaultSetting);
default boolean isEnabled(String toggleName, UnleashContext context) {
return isEnabled(toggleName, context, false);
}
default boolean isEnabled(String toggleName, UnleashContext context, boolean defaultSetting) {
return isEnabled(toggleName, defaultSetting);
}
List getFeatureToggleNames();
}