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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for Java