Package io.quarkus.runtime.configuration
Class RuntimeOverrideConfigSource
- java.lang.Object
-
- io.quarkus.runtime.configuration.RuntimeOverrideConfigSource
-
- All Implemented Interfaces:
org.eclipse.microprofile.config.spi.ConfigSource
public class RuntimeOverrideConfigSource extends Object implements org.eclipse.microprofile.config.spi.ConfigSource
Config source that is used to handleio.quarkus.bootstrap.app.StartupAction#overrideConfig(java.util.Map)
-
-
Field Summary
Fields Modifier and Type Field Description static String
FIELD_NAME
static String
GENERATED_CLASS_NAME
(package private) Map<String,String>
values
-
Constructor Summary
Constructors Constructor Description RuntimeOverrideConfigSource(ClassLoader classLoader)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
int
getOrdinal()
Map<String,String>
getProperties()
Set<String>
getPropertyNames()
String
getValue(String s)
static void
setConfig(ClassLoader runtimeClassLoader, Map<String,String> config)
-
-
-
Constructor Detail
-
RuntimeOverrideConfigSource
public RuntimeOverrideConfigSource(ClassLoader classLoader)
-
-
Method Detail
-
setConfig
public static void setConfig(ClassLoader runtimeClassLoader, Map<String,String> config)
-
getProperties
public Map<String,String> getProperties()
- Specified by:
getProperties
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getPropertyNames
public Set<String> getPropertyNames()
- Specified by:
getPropertyNames
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getOrdinal
public int getOrdinal()
- Specified by:
getOrdinal
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getValue
public String getValue(String s)
- Specified by:
getValue
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
-