Class Feature
- java.lang.Object
-
- com.azure.spring.cloud.feature.manager.entities.Feature
-
public class Feature extends Object
App Configuration Feature defines the feature name and a Map of FeatureFilterEvaluationContexts.
-
-
Constructor Summary
Constructors Constructor Description Feature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HashMap<Integer,FeatureFilterEvaluationContext>getEnabledFor()BooleangetEvaluate()StringgetKey()voidsetEnabledFor(HashMap<Integer,FeatureFilterEvaluationContext> enabledFor)voidsetEvaluate(Boolean evaluate)voidsetKey(String key)
-
-
-
Method Detail
-
getKey
public String getKey()
- Returns:
- the key
-
setKey
public void setKey(String key)
- Parameters:
key- the key to set
-
getEvaluate
public Boolean getEvaluate()
- Returns:
- the evaluate
-
setEvaluate
public void setEvaluate(Boolean evaluate)
- Parameters:
evaluate- the evaluate to set
-
getEnabledFor
public HashMap<Integer,FeatureFilterEvaluationContext> getEnabledFor()
- Returns:
- the enabledFor
-
setEnabledFor
public void setEnabledFor(HashMap<Integer,FeatureFilterEvaluationContext> enabledFor)
- Parameters:
enabledFor- the enabledFor to set
-
-