All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.getunleash.MoreOperations Maven / Gradle / Ivy

There is a newer version: 9.2.4
Show newest version
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy