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 Details

    • add

      @NotNull S add(@NotNull @NotNull Properties values)
      Adds the specified configuration properties to the configuration properties.
      Parameters:
      values - The configuration properties.
      Returns:
      This instance, for method chaining.
    • add

      @NotNull S add(@NotNull @NotNull Map<String,String> values)
      Adds the specified configuration properties to the configuration properties.
      Parameters:
      values - The configuration properties.
      Returns:
      This instance, for method chaining.
    • load

      @NotNull S load(@NotNull @NotNull String path)
      Loads the configuration properties from the specified ClassLoader resource.
      Parameters:
      path - The ClassLoader resource path.
      Returns:
      This instance, for method chaining.
    • load

      @NotNull S load(@NotNull @NotNull Path path)
      Loads the configuration properties from the file in the specified path.
      Parameters:
      path - The file path.
      Returns:
      This instance, for method chaining.
    • load

      @NotNull S load(@NotNull @NotNull File file)
      Loads the configuration properties from the specified file.
      Parameters:
      file - The file to load.
      Returns:
      This instance, for method chaining.
    • load

      @NotNull S load(@NotNull @NotNull URL url)
      Loads the configuration properties from the specified URL.
      Parameters:
      url - The URL to load.
      Returns:
      This instance, for method chaining.