Package io.smallrye.config
Class SmallRyeConfigSourceInterceptors
- java.lang.Object
-
- io.smallrye.config.SmallRyeConfigSourceInterceptors
-
- All Implemented Interfaces:
ConfigSourceInterceptorContext,Serializable
public class SmallRyeConfigSourceInterceptors extends Object implements ConfigSourceInterceptorContext
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SmallRyeConfigSourceInterceptors(List<ConfigSourceInterceptor> interceptors)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<String>iterateNames()Proceeds to the next interceptor in the chain.Iterator<ConfigValue>iterateValues()Proceeds to the next interceptor in the chain.static voidmain(String[] args)ConfigValueproceed(String name)Proceeds to the next interceptor in the chain.
-
-
-
Constructor Detail
-
SmallRyeConfigSourceInterceptors
public SmallRyeConfigSourceInterceptors(List<ConfigSourceInterceptor> interceptors)
-
-
Method Detail
-
proceed
public ConfigValue proceed(String name)
Description copied from interface:ConfigSourceInterceptorContextProceeds to the next interceptor in the chain.- Specified by:
proceedin interfaceConfigSourceInterceptorContext- Parameters:
name- the configuration name to lookup. Can be the original key.- Returns:
- a
ConfigValuewith information about the name, value, config source and ordinal, ornullif the value isn't present.
-
iterateNames
public Iterator<String> iterateNames()
Description copied from interface:ConfigSourceInterceptorContextProceeds to the next interceptor in the chain.- Specified by:
iterateNamesin interfaceConfigSourceInterceptorContext- Returns:
- an Iterator of Strings with configuration names.
-
iterateValues
public Iterator<ConfigValue> iterateValues()
Description copied from interface:ConfigSourceInterceptorContextProceeds to the next interceptor in the chain.- Specified by:
iterateValuesin interfaceConfigSourceInterceptorContext- Returns:
- an Iterator of
ConfigValuewith information about the name, value, config source and ordinal.
-
main
public static void main(String[] args)
-
-