AlwaysOnFilter Class
- java.
lang. Object - com.
azure. spring. cloud. feature. management. filters. AlwaysOnFilter
- com.
Implements
public final class AlwaysOnFilter
implements FeatureFilter
A filter that always returns true
Constructor Summary
Constructor | Description |
---|---|
AlwaysOnFilter() |
Creates an instance of AlwaysOnFilter |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(FeatureFilterEvaluationContext context)
Evaluates if the filter is on or off. |
Methods inherited from java.lang.Object
Constructor Details
AlwaysOnFilter
public AlwaysOnFilter()
Creates an instance of AlwaysOnFilter
Method Details
evaluate
public boolean evaluate(FeatureFilterEvaluationContext context)
Evaluates if the filter is on or off. Returning true results in Feature evaluation ending and returning true. Returning false results in the next Feature evaluation to continue.
Parameters:
context
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for Java