java.lang.Object
dev.orne.config.impl.ConfigOptions
Options of configuration builder.
- Since:
- 1.0
- Version:
- 1.0, 2025-05
- Author:
- (w) Iker Hernaez
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructor.ConfigOptions(@NotNull ConfigOptions copy) Copy constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the cryptography transformations provider.Returns the configuration values decoder.Returns the configuration properties values decorator.Returns the parent configuration.booleanReturnstrueif the configuration properties values from the parent configuration (if any) are overridden by the properties values from this configuration.booleanReturnstrueif configuration property values variable resolution is enabled.voidsetCryptoProvider(ConfigCryptoProvider provider) Sets the cryptography transformations provider.voidsetDecoder(ValueDecoder decoder) Sets the configuration values decoder.voidsetDecorator(ValueDecorator decorator) Sets the configuration properties values decorator.voidsetOverrideParentProperties(boolean override) Sets if the configuration properties values from the parent configuration (if any) are overridden by the properties values from this configuration.voidSets the parent configuration.voidsetVariableResolutionEnabled(boolean enabled) Sets if configuration property values variable resolution is enabled.
-
Constructor Details
-
ConfigOptions
public ConfigOptions()Empty constructor. -
ConfigOptions
Copy constructor.- Parameters:
copy- The instance to copy.
-
-
Method Details
-
getParent
Returns the parent configuration.- Returns:
- The parent configuration.
-
setParent
Sets the parent configuration.- Parameters:
parent- The parent configuration.
-
isOverrideParentProperties
public boolean isOverrideParentProperties()Returnstrueif 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
Returns the cryptography transformations provider.- Returns:
- The cryptography transformations provider.
-
setCryptoProvider
Sets the cryptography transformations provider.- Parameters:
provider- The cryptography transformations provider.
-
getDecoder
Returns the configuration values decoder.- Returns:
- The configuration values decoder.
-
setDecoder
Sets the configuration values decoder.- Parameters:
decoder- The configuration values decoder.
-
isVariableResolutionEnabled
public boolean isVariableResolutionEnabled()Returnstrueif 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
Returns the configuration properties values decorator.- Returns:
- The configuration properties values decorator.
-
setDecorator
Sets the configuration properties values decorator.- Parameters:
decorator- The configuration properties values decorator.
-