| Package | Description |
|---|---|
| fish.payara.nucleus.microprofile.config.spi |
| Modifier and Type | Method and Description |
|---|---|
default ConfigValueResolver |
ConfigValueResolver.throwOnFailedConversion()
Disables the default behaviour of not throwing exceptions and instead returning typed default values for case of
failed conversion or missing converter for the target type.
|
ConfigValueResolver |
ConfigValueResolver.throwOnFailedConversion(boolean throwOnFailedConversion)
Disables or enables throwing exceptions for failed conversions.
|
default ConfigValueResolver |
ConfigValueResolver.throwOnMissingProperty()
Disables the default behaviour of not throwing exceptions and instead returning default values for case of
missing or empty raw value.
|
ConfigValueResolver |
ConfigValueResolver.throwOnMissingProperty(boolean throwOnMissingProperty)
Disables or enables throwing exceptions for missing properties.
|
ConfigValueResolver |
ConfigValueResolver.withDefault(String value)
Provides a raw property value default value.
|
ConfigValueResolver |
ConfigValueResolver.withPolicy(ConfigValueResolver.ElementPolicy policy)
Change the
ConfigValueResolver.ElementPolicy setting. |
ConfigValueResolver |
ConfigValueResolver.withTrimming(boolean trim)
Change the source level value trimming setting.
|
ConfigValueResolver |
ConfigValueResolver.withTTL(long ttl)
Use a custom cache TTL for resolution.
|
Copyright © 2021. All rights reserved.