Package io.getunleash.strategy
Interface Strategy
-
- All Known Implementing Classes:
ApplicationHostnameStrategy,DefaultStrategy,FlexibleRolloutStrategy,GradualRolloutRandomStrategy,GradualRolloutSessionIdStrategy,GradualRolloutUserIdStrategy,RemoteAddressStrategy,UnknownStrategy,UserWithIdStrategy
public interface Strategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetName()booleanisEnabled(Map<String,String> parameters)default booleanisEnabled(Map<String,String> parameters, UnleashContext unleashContext)default booleanisEnabled(Map<String,String> parameters, UnleashContext unleashContext, List<Constraint> constraints)
-
-
-
Method Detail
-
getName
String getName()
-
isEnabled
default boolean isEnabled(Map<String,String> parameters, UnleashContext unleashContext)
-
isEnabled
default boolean isEnabled(Map<String,String> parameters, UnleashContext unleashContext, List<Constraint> constraints)
-
-