Class ConfigOptions

java.lang.Object
dev.orne.config.impl.ConfigOptions

@API(status=INTERNAL, since="1.0") public class ConfigOptions extends Object
Options of configuration builder.
Since:
1.0
Version:
1.0, 2025-05
Author:
(w) Iker Hernaez
See Also:
  • Constructor Details

    • ConfigOptions

      public ConfigOptions()
      Empty constructor.
    • ConfigOptions

      public ConfigOptions(@NotNull @NotNull ConfigOptions copy)
      Copy constructor.
      Parameters:
      copy - The instance to copy.
  • Method Details

    • getParent

      public Config getParent()
      Returns the parent configuration.
      Returns:
      The parent configuration.
    • setParent

      public void setParent(Config parent)
      Sets the parent configuration.
      Parameters:
      parent - The parent configuration.
    • isOverrideParentProperties

      public boolean isOverrideParentProperties()
      Returns true if the configuration properties values from the parent configuration (if any) are overridden by the properties values from this configuration.
      Returns:
      If the configuration properties values from the parent configuration are overridden by the properties values from this configuration.
    • setOverrideParentProperties

      public void setOverrideParentProperties(boolean override)
      Sets if the configuration properties values from the parent configuration (if any) are overridden by the properties values from this configuration.
      Parameters:
      override - If the configuration properties values from the parent configuration are overridden by the properties values from this configuration.
    • getCryptoProvider

      public ConfigCryptoProvider getCryptoProvider()
      Returns the cryptography transformations provider.
      Returns:
      The cryptography transformations provider.
    • setCryptoProvider

      public void setCryptoProvider(ConfigCryptoProvider provider)
      Sets the cryptography transformations provider.
      Parameters:
      provider - The cryptography transformations provider.
    • getDecoder

      public ValueDecoder getDecoder()
      Returns the configuration values decoder.
      Returns:
      The configuration values decoder.
    • setDecoder

      public void setDecoder(ValueDecoder decoder)
      Sets the configuration values decoder.
      Parameters:
      decoder - The configuration values decoder.
    • isVariableResolutionEnabled

      public boolean isVariableResolutionEnabled()
      Returns true if configuration property values variable resolution is enabled.
      Returns:
      If configuration property values variable resolution is enabled.
    • setVariableResolutionEnabled

      public void setVariableResolutionEnabled(boolean enabled)
      Sets if configuration property values variable resolution is enabled.
      Parameters:
      enabled - If configuration property values variable resolution is enabled.
    • getDecorator

      public ValueDecorator getDecorator()
      Returns the configuration properties values decorator.
      Returns:
      The configuration properties values decorator.
    • setDecorator

      public void setDecorator(ValueDecorator decorator)
      Sets the configuration properties values decorator.
      Parameters:
      decorator - The configuration properties values decorator.