io.getunleash.MoreOperations 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 io.getunleash;
import java.util.List;
import java.util.Optional;
public interface MoreOperations {
List getFeatureToggleNames();
Optional getFeatureToggleDefinition(String toggleName);
List evaluateAllToggles();
/**
* Evaluate all toggles using the provided context. This does not record the corresponding usage
* metrics for each toggle
*
* @param context
* @return
*/
List evaluateAllToggles(UnleashContext context);
void count(String toggleName, boolean enabled);
void countVariant(String toggleName, String variantName);
}