Module dev.orne.config
Package dev.orne.config
Interface PropertiesConfigBaseBuilder<S extends PropertiesConfigBaseBuilder<S>>
- Type Parameters:
S- The concrete type of the builder.
- All Superinterfaces:
ConfigBuilder<S>
- All Known Subinterfaces:
PropertiesConfigBuilder,PropertiesMutableConfigBuilder
- All Known Implementing Classes:
PropertiesConfigBuilderImpl,PropertiesMutableConfigBuilderImpl
@API(status=STABLE,
since="1.0")
public interface PropertiesConfigBaseBuilder<S extends PropertiesConfigBaseBuilder<S>>
extends ConfigBuilder<S>
Properties based configuration builder.- Since:
- 1.0
- Version:
- 1.0, 2025-05
- Author:
- (w) Iker Hernaez
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionAdds the specified configuration properties to the configuration properties.add(@NotNull Properties values) Adds the specified configuration properties to the configuration properties.Loads the configuration properties from the specified file.Loads the configuration properties from the specified ClassLoader resource.Loads the configuration properties from the specified URL.Loads the configuration properties from the file in the specified path.Methods inherited from interface dev.orne.config.ConfigBuilder
as, build, withDecoder, withDecorator, withEncryption, withOverrideParentProperties, withParent, withParent, withVariableResolution
-
Method Details
-
add
Adds the specified configuration properties to the configuration properties.- Parameters:
values- The configuration properties.- Returns:
- This instance, for method chaining.
-
add
Adds the specified configuration properties to the configuration properties.- Parameters:
values- The configuration properties.- Returns:
- This instance, for method chaining.
-
load
Loads the configuration properties from the specified ClassLoader resource.- Parameters:
path- The ClassLoader resource path.- Returns:
- This instance, for method chaining.
-
load
Loads the configuration properties from the file in the specified path.- Parameters:
path- The file path.- Returns:
- This instance, for method chaining.
-
load
Loads the configuration properties from the specified file.- Parameters:
file- The file to load.- Returns:
- This instance, for method chaining.
-
load
Loads the configuration properties from the specified URL.- Parameters:
url- The URL to load.- Returns:
- This instance, for method chaining.
-