Class InMemoryOverrideSource
java.lang.Object
io.helidon.config.InMemoryOverrideSource
- All Implemented Interfaces:
OverrideSource, Source, Supplier<OverrideSource>
In-memory implementation of override source.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classFluent API builder forInMemoryOverrideSource.Nested classes/interfaces inherited from interface OverrideSource
OverrideSource.OverrideDataModifier and TypeInterfaceDescriptionstatic final classGroup of config override settings. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface OverrideSource
getMethods inherited from interface Source
description, exists, optional, retryPolicyModifier and TypeMethodDescriptiondefault StringShort, human-readable summary referring to the underlying source.default booleanexists()If the underlying data exist at this time.default booleanoptional()Whether this source is optional.default Optional<RetryPolicy> Retry policy configured on this config source.
-
Method Details
-
load
Description copied from interface:OverrideSourceLoad override data from the underlying source.- Specified by:
loadin interfaceOverrideSource- Returns:
- override data if present, empty otherwise
- Throws:
ConfigException- in case the loading of data failed
-