Class AppConfigurationStoreSelects
java.lang.Object
com.azure.spring.cloud.config.properties.AppConfigurationStoreSelects
Properties on what Selects are checked before loading configurations.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetLabel()
Used for Generating Property Source name only.String[]
getLabelFilter
(List<String> profiles) getLabelFilterText
(List<String> profiles) Get all labels as a single StringsetKeyFilter
(String keyFilter) setLabelFilter
(String labelFilter) void
Validates key-filter and label-filter are valid.
-
Constructor Details
-
AppConfigurationStoreSelects
public AppConfigurationStoreSelects()
-
-
Method Details
-
getKeyFilter
- Returns:
- the keyFilter
-
setKeyFilter
- Parameters:
keyFilter
- the keyFilter to set- Returns:
- AppConfigurationStoreSelects
-
getLabelFilter
- Parameters:
profiles
- List of current Spring profiles to default to using is null label is set.- Returns:
- List of reversed label values, which are split by the separator, the latter label has higher priority
-
getLabelFilterText
Get all labels as a single String- Parameters:
profiles
- current user profiles- Returns:
- comma separated list of labels
-
getLabel
Used for Generating Property Source name only.- Returns:
- String all labels combined.
-
setLabelFilter
- Parameters:
labelFilter
- the labelFilter to set- Returns:
- AppConfigurationStoreSelects
-
validateAndInit
Validates key-filter and label-filter are valid.
-