Compartilhar via


AlwaysOnFilter Class

  • java.lang.Object
    • com.azure.spring.cloud.feature.management.filters.AlwaysOnFilter

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