java.lang.Object
io.helidon.config.yaml.mp.YamlMetaConfigProvider
- All Implemented Interfaces:
Prioritized
,MpMetaConfigProvider
Helidon MicroProfile meta-config provider for Yaml.
-
Field Summary
Fields inherited from interface io.helidon.common.Prioritized
DEFAULT_PRIORITY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList<? extends ConfigSource>
Create a list of configuration sources from a meta-config type.int
priority()
Priority of this class (maybe because it is defined dynamically, so it cannot be defined by an annotation).Set of supported types for a MicroProfile meta-config provider.
-
Constructor Details
-
YamlMetaConfigProvider
public YamlMetaConfigProvider()
-
-
Method Details
-
supportedTypes
Description copied from interface:MpMetaConfigProvider
Set of supported types for a MicroProfile meta-config provider.- Specified by:
supportedTypes
in interfaceMpMetaConfigProvider
- Returns:
- meta-config provider types
-
create
Description copied from interface:MpMetaConfigProvider
Create a list of configuration sources from a meta-config type.- Specified by:
create
in interfaceMpMetaConfigProvider
- Parameters:
type
- type of the config sourcemetaConfig
- configuration properties of a meta-config typeprofile
- name of the profile to use or null if not used- Returns:
- list of config sources
-
priority
public int priority()Description copied from interface:Prioritized
Priority of this class (maybe because it is defined dynamically, so it cannot be defined by an annotation). If not dynamic, you can use thejakarta.annotation.Priority
annotation rather then implementing this interface as long as it is supported by the library using thisPrioritized
.- Specified by:
priority
in interfacePrioritized
- Returns:
- the priority of this service, must be a non-negative number
-