Package com.github.cafapi.common.api
Interface ConfigurationDecoderProvider
- All Known Implementing Classes:
CafConfigurationDecoderProvider
public interface ConfigurationDecoderProvider
Simple interface to return the Decoder to use when reading the configuration files.
-
Method Summary
Modifier and TypeMethodDescriptiongetDecoder
(BootstrapConfiguration bootstrap, Decoder defaultDecoder) Returns the Decoder that should be used to interpret the configuration files.
-
Method Details
-
getDecoder
Returns the Decoder that should be used to interpret the configuration files.- Parameters:
bootstrap
- used to provide basic, initial startup configurationdefaultDecoder
- the Decoder to use if one is not configured- Returns:
- the Decoder that should be used to interpret the configuration files
-