-
- All Known Subinterfaces:
ConfigContent.NodeContent
,ConfigContent.OverrideContent
,ConfigParser.Content
public interface ConfigContent
Config content as provided by a config source that can read all its data at once (an "eager" config source). This interface provides necessary support for changes of the underlying source and for parsable content.Content can either provide a
ConfigNode.ObjectNode
or an array of bytes to be parsed by aConfigParser
.The data stamp can be any object (to be decided by the
ConfigSource
).
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ConfigContent.Builder<T extends ConfigContent.Builder<T>>
Fluent API builder forConfigContent
, common ancestor for parsable content builder and node content builder.static interface
ConfigContent.NodeContent
Config content that provides anConfigNode.ObjectNode
directly, with no need for parsing.static interface
ConfigContent.OverrideContent
A content of anOverrideSource
.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
close()
Close the content, as it is no longer needed.default Optional<Object>
stamp()
A modification stamp of the content.
-