Package io.getunleash
Class DefaultUnleash.DefaultMore
- java.lang.Object
-
- io.getunleash.DefaultUnleash.DefaultMore
-
- All Implemented Interfaces:
MoreOperations
- Enclosing class:
- DefaultUnleash
public class DefaultUnleash.DefaultMore extends Object implements MoreOperations
-
-
Constructor Summary
Constructors Constructor Description DefaultMore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcount(String toggleName, boolean enabled)voidcountVariant(String toggleName, String variantName)List<EvaluatedToggle>evaluateAllToggles()List<EvaluatedToggle>evaluateAllToggles(UnleashContext context)Evaluate all toggles using the provided context.List<String>getFeatureToggleNames()
-
-
-
Method Detail
-
getFeatureToggleNames
public List<String> getFeatureToggleNames()
- Specified by:
getFeatureToggleNamesin interfaceMoreOperations
-
evaluateAllToggles
public List<EvaluatedToggle> evaluateAllToggles()
- Specified by:
evaluateAllTogglesin interfaceMoreOperations
-
evaluateAllToggles
public List<EvaluatedToggle> evaluateAllToggles(UnleashContext context)
Description copied from interface:MoreOperationsEvaluate all toggles using the provided context. This does not record the corresponding usage metrics for each toggle- Specified by:
evaluateAllTogglesin interfaceMoreOperations- Returns:
-
count
public void count(String toggleName, boolean enabled)
- Specified by:
countin interfaceMoreOperations
-
countVariant
public void countVariant(String toggleName, String variantName)
- Specified by:
countVariantin interfaceMoreOperations
-
-