| Package | Description |
|---|---|
| net.obvj.confectory |
The main package.
|
| net.obvj.confectory.helper |
This package contains classes that support data retrieval for supported
Configuration formats. |
| net.obvj.confectory.helper.nullvalue |
This package contains classes that support custom null-value handling for
Configuration data. |
| net.obvj.confectory.settings |
Classes for settings that are particularly related to the Confectory project.
|
| Modifier and Type | Method and Description |
|---|---|
NullValueProvider |
Configuration.getNullValueProvider() |
NullValueProvider |
ConfigurationBuilder.getNullValueProvider() |
NullValueProvider |
ConfigurationContainer.getNullValueProvider()
Returns the
NullValueProvider associated with this container. |
NullValueProvider |
ConfigurationMetadataRetriever.getNullValueProvider()
Returns the
NullValueProvider associated with this Configuration. |
| Modifier and Type | Method and Description |
|---|---|
ConfigurationBuilder<T> |
ConfigurationBuilder.nullValueProvider(NullValueProvider provider)
Defines an optional
NullValueProvider to be used when keys are not found. |
void |
ConfigurationContainer.setNullValueProvider(NullValueProvider provider)
Defines a custom
NullValueProvider for this container. |
| Constructor and Description |
|---|
ConfigurationContainer(DataFetchStrategy dataFetchStrategy,
NullValueProvider nullValueProvider,
Configuration<?>... configs)
Builds a new
ConfigurationContainer with custom DataFetchStrategy and
NullValueProvider and an arbitrary number of preset Configuration
objects. |
ConfigurationContainer(NullValueProvider nullValueProvider,
Configuration<?>... configs)
Builds a new
ConfigurationContainer with a custom NullValueProvider and
an arbitrary number of preset Configuration objects. |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractBasicConfigurationHelper.setNullValueProvider(NullValueProvider provider) |
void |
ConfigurationHelper.setNullValueProvider(NullValueProvider provider)
Defines a
NullValueProvider for invalid keys. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractNullValueProvider
An abstract
NullValueProvider with common methods implemented. |
class |
StandardNullValueProvider
An object that provides "smart-nulls" for Java types (specially primitive ones) when a
configuration key is not found.
|
| Modifier and Type | Method and Description |
|---|---|
static NullValueProvider |
StandardNullValueProvider.instance()
Returns pre-built, shared instance for this
NullValueProvider. |
| Modifier and Type | Method and Description |
|---|---|
NullValueProvider |
ConfectorySettings.getDefaultNullValueProvider()
Returns the
NullValueProvider to be applied by default when no such provider
specified at Configuration level. |
| Modifier and Type | Method and Description |
|---|---|
void |
ConfectorySettings.setDefaultNullValueProvider(NullValueProvider provider)
Defines the
NullValueProvider to be applied by default when no such provider
specified at Configuration level. |
Copyright © 2021. All rights reserved.