- java.lang.Object
-
- io.helidon.config.InMemoryOverrideSource
-
- All Implemented Interfaces:
OverrideSource
,Source
,Supplier<OverrideSource>
public class InMemoryOverrideSource extends Object implements OverrideSource
In-memory implementation of override source.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InMemoryOverrideSource.Builder
Fluent API builder forInMemoryOverrideSource
.-
Nested classes/interfaces inherited from interface io.helidon.config.spi.OverrideSource
OverrideSource.OverrideData
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<ConfigContent.OverrideContent>
load()
Load override data from the underlying source.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.helidon.config.spi.OverrideSource
get
-
Methods inherited from interface io.helidon.config.spi.Source
description, exists, optional, retryPolicy
-
-
-
-
Method Detail
-
load
public Optional<ConfigContent.OverrideContent> load() throws ConfigException
Description copied from interface:OverrideSource
Load override data from the underlying source.- Specified by:
load
in interfaceOverrideSource
- Returns:
- override data if present, empty otherwise
- Throws:
ConfigException
- in case the loading of data failed
-
-