public class BlackListStrategy extends ClientFilterStrategy
CLIENT_HOSTNAME| Constructor and Description |
|---|
BlackListStrategy()
Default Constructor.
|
BlackListStrategy(String clientList)
Parameterized constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(String featureName,
FeatureStore store,
FlippingExecutionContext executionContext)
Tell if flip should be realized.
|
initassertRequiredParameter, getInitParams, getType, toStringpublic BlackListStrategy()
public BlackListStrategy(String clientList)
threshold - thresholdpublic boolean evaluate(String featureName, FeatureStore store, FlippingExecutionContext executionContext)
evaluate in interface FlippingStrategyevaluate in class ClientFilterStrategyfeatureName - target featureNameexecutionContext - custom params to make decisionCopyright © 2013–2015 FF4J. All rights reserved.