java.lang.Object
io.helidon.config.OverrideConfigFilter
- All Implemented Interfaces:
- ConfigFilter
A config filter that replaces values with a new ones of keys that matching with 
Pattern.- 
Constructor SummaryConstructorsConstructorDescriptionOverrideConfigFilter(Supplier<List<Map.Entry<Predicate<Config.Key>, String>>> overrideValuesSupplier) Creates a filter with a given supplier of a map of key patterns to a override values.
- 
Method SummaryModifier and TypeMethodDescriptionapply(Config.Key key, String stringValue) Filters an elementary config value before it is made available to the application via theConfigAPI.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.config.spi.ConfigFilterapply, init
- 
Constructor Details- 
OverrideConfigFilterpublic OverrideConfigFilter(Supplier<List<Map.Entry<Predicate<Config.Key>, String>>> overrideValuesSupplier) Creates a filter with a given supplier of a map of key patterns to a override values.- Parameters:
- overrideValuesSupplier- a supplier of a map of key patterns to a override values
 
 
- 
- 
Method Details- 
applyDescription copied from interface:ConfigFilterFilters an elementary config value before it is made available to the application via theConfigAPI.- Specified by:
- applyin interface- ConfigFilter
- Parameters:
- key- configuration- keyassociated with the- Confignode
- stringValue- original value to be filtered, never- null
- Returns:
- original value or filtered (changed) value, never null
 
 
-