- ClasspathFileSource<T> - Class in net.obvj.confectory.source
-
A specialized configuration source implementation for loading a local file resource
from the classpath.
- ClasspathFileSource(String) - Constructor for class net.obvj.confectory.source.ClasspathFileSource
-
Builds a new configuration source for specific local file resource in the classpath.
- classpathFileSource(String) - Static method in class net.obvj.confectory.source.SourceFactory
-
- clear() - Method in class net.obvj.confectory.ConfigurationContainer
-
Removes all of the Configuration objects from this container.
- compare(Configuration<?>, Configuration<?>) - Method in class net.obvj.confectory.util.ConfigurationComparator
-
Compares two Configuration objects for precedence.
- Confectory - Class in net.obvj.confectory
-
A Facade for common operations in the Confectory project.
- ConfectorySettings - Class in net.obvj.confectory.settings
-
An object that defines the global settings for the Confectory project.
- Configuration<T> - Class in net.obvj.confectory
-
An immutable object that contains configuration data from a specific source, as well as
related metadata.
- ConfigurationBuilder<T> - Class in net.obvj.confectory
-
A mutable object that supports the creation of immutable
Configuration objects.
- ConfigurationBuilder() - Constructor for class net.obvj.confectory.ConfigurationBuilder
-
Creates a new, empty ConfigurationBuilder.
- ConfigurationBuilder(Configuration<T>) - Constructor for class net.obvj.confectory.ConfigurationBuilder
-
Creates a new ConfigurationBuilder filled with the attributes of an existing
base Configuration.
- ConfigurationComparator - Class in net.obvj.confectory.util
-
A comparison function for Configuration objects.
- ConfigurationComparator() - Constructor for class net.obvj.confectory.util.ConfigurationComparator
-
- ConfigurationContainer - Class in net.obvj.confectory
-
An object that holds multiple Configuration objects and retrieves configuration
data seamlessly, by namespace and key.
- ConfigurationContainer(Configuration<?>...) - Constructor for class net.obvj.confectory.ConfigurationContainer
-
Builds a new ConfigurationContainer with an arbitrary number of preset
Configuration objects to be registered.
- ConfigurationContainer(DataFetchStrategy, Configuration<?>...) - Constructor for class net.obvj.confectory.ConfigurationContainer
-
Builds a new
ConfigurationContainer with a custom
DataFetchStrategy and
an arbitrary number of preset
Configuration objects.
- ConfigurationContainer(NullValueProvider, Configuration<?>...) - Constructor for class net.obvj.confectory.ConfigurationContainer
-
Builds a new
ConfigurationContainer with a custom
NullValueProvider and
an arbitrary number of preset
Configuration objects.
- ConfigurationContainer(DataFetchStrategy, NullValueProvider, Configuration<?>...) - Constructor for class net.obvj.confectory.ConfigurationContainer
-
- ConfigurationDataRetriever<T> - Interface in net.obvj.confectory
-
A base interface for objects that retrieve configuration data.
- ConfigurationException - Exception in net.obvj.confectory
-
A specialized runtime exception for generic configuration handling.
- ConfigurationException(String, Object...) - Constructor for exception net.obvj.confectory.ConfigurationException
-
Constructs a new exception with the specified detail message.
- ConfigurationException(Throwable, String, Object...) - Constructor for exception net.obvj.confectory.ConfigurationException
-
Constructs a new exception with the specified detail message and cause.
- ConfigurationException(Throwable) - Constructor for exception net.obvj.confectory.ConfigurationException
-
Constructs a new exception with the specified cause.
- ConfigurationHelper<T> - Interface in net.obvj.confectory.helper
-
A base interface for Configuration Helper objects providing methods for retrieving
configuration data from different source types.
- configurationHelper(T) - Method in class net.obvj.confectory.mapper.AbstractBeanMapper
-
- configurationHelper(T) - Method in interface net.obvj.confectory.mapper.Mapper
-
- configurationHelper(Properties) - Method in class net.obvj.confectory.mapper.PropertiesMapper
-
- ConfigurationMetadataRetriever<T> - Interface in net.obvj.confectory
-
A base interface for objects that retrieve configuration metadata, such as
Source, Mapper, and other attributes.
- ConfigurationSourceException - Exception in net.obvj.confectory
-
A specialized runtime exception to indicate a failure to load a configuration from the
Source.
- ConfigurationSourceException(String, Object...) - Constructor for exception net.obvj.confectory.ConfigurationSourceException
-
Constructs a new exception with the specified detail message.
- ConfigurationSourceException(Throwable, String, Object...) - Constructor for exception net.obvj.confectory.ConfigurationSourceException
-
Constructs a new exception with the specified detail message and cause.
- ConfigurationSourceException(Throwable) - Constructor for exception net.obvj.confectory.ConfigurationSourceException
-
Constructs a new exception with the specified cause.
- container() - Static method in class net.obvj.confectory.Confectory
-
Retrieves a
ConfigurationContainer instance that can be accessed statically for
holding global configuration data.
- GenericJsonConfigurationHelper<J> - Class in net.obvj.confectory.helper
-
A generic Configuration Helper that retrieves data from a JSON document, with JSONPath
capabilities.
- getBean() - Method in class net.obvj.confectory.Configuration
-
- getBean() - Method in interface net.obvj.confectory.ConfigurationDataRetriever
-
Returns the target configuration object used by this data retriever, typically for
manual handling and/or troubleshooting purposes.
- getBean() - Method in class net.obvj.confectory.helper.BasicConfigurationHelper
-
- getBean() - Method in class net.obvj.confectory.helper.GenericJsonConfigurationHelper
-
- getBean() - Method in class net.obvj.confectory.helper.NullConfigurationHelper
-
- getBoolean(String) - Method in class net.obvj.confectory.Configuration
-
- getBoolean(String) - Method in class net.obvj.confectory.ConfigurationContainer
-
Returns the
boolean value associated with the specified
key in the
default namespace (or in all namespaces depending on the
DataFetchStrategy in
scope).
- getBoolean(String, String) - Method in class net.obvj.confectory.ConfigurationContainer
-
Returns the boolean value associated with the specified key in the
specified namespace.
- getBoolean(String) - Method in interface net.obvj.confectory.ConfigurationDataRetriever
-
Returns the boolean value associated with the specified key.
- getBoolean(String) - Method in class net.obvj.confectory.helper.BasicConfigurationHelper
-
- getBoolean(String) - Method in class net.obvj.confectory.helper.GenericJsonConfigurationHelper
-
Returns the boolean value associated with the specified jsonPath in the
JsonNode in context, provided that the expression returns a single element that
can be mapped to boolean.
- getBoolean(String) - Method in class net.obvj.confectory.helper.NullConfigurationHelper
-
- getBooleanValue() - Method in interface net.obvj.confectory.helper.nullvalue.NullValueProvider
-
- getBooleanValue() - Method in class net.obvj.confectory.helper.nullvalue.StandardNullValueProvider
-
Returns false.
- getDataFetchStrategy() - Method in class net.obvj.confectory.ConfigurationContainer
-
Returns the DataFetchStrategy associated with this container.
- getDefaultDataFetchStrategy() - Method in class net.obvj.confectory.settings.ConfectorySettings
-
Returns the
DataFetchStrategy to be applied by default when no specific
strategy is defined.
- getDefaultNullValueProvider() - Method in class net.obvj.confectory.settings.ConfectorySettings
-
Returns the
NullValueProvider to be applied by default when no such provider
specified at
Configuration level.
- getDouble(String) - Method in class net.obvj.confectory.Configuration
-
- getDouble(String) - Method in class net.obvj.confectory.ConfigurationContainer
-
Returns the
double value associated with the specified
key in the
default namespace (or in all namespaces depending on the
DataFetchStrategy in
scope).
- getDouble(String, String) - Method in class net.obvj.confectory.ConfigurationContainer
-
Returns the double value associated with the specified key in the
specified namespace.
- getDouble(String) - Method in interface net.obvj.confectory.ConfigurationDataRetriever
-
Returns the double value associated with the specified key.
- getDouble(String) - Method in class net.obvj.confectory.helper.BasicConfigurationHelper
-
- getDouble(String) - Method in class net.obvj.confectory.helper.GenericJsonConfigurationHelper
-
Returns the double value associated with the specified jsonPath in the
JsonNode in context, provided that the expression returns a single element that
can be mapped to double.
- getDouble(String) - Method in class net.obvj.confectory.helper.NullConfigurationHelper
-
- getDoubleValue() - Method in interface net.obvj.confectory.helper.nullvalue.NullValueProvider
-
- getDoubleValue() - Method in class net.obvj.confectory.helper.nullvalue.StandardNullValueProvider
-
Returns 0.0.
- getHelper() - Method in class net.obvj.confectory.Configuration
-
- getInstance() - Static method in class net.obvj.confectory.settings.ConfectorySettings
-
- getInt(String) - Method in class net.obvj.confectory.Configuration
-
- getInt(String) - Method in class net.obvj.confectory.ConfigurationContainer
-
Returns the
int value associated with the specified
key in the default
namespace (or in all namespaces depending on the
DataFetchStrategy in scope).
- getInt(String, String) - Method in class net.obvj.confectory.ConfigurationContainer
-
Returns the int value associated with the specified key in the
specified namespace.
- getInt(String) - Method in interface net.obvj.confectory.ConfigurationDataRetriever
-
Returns the int value associated with the specified key.
- getInt(String) - Method in class net.obvj.confectory.helper.BasicConfigurationHelper
-
- getInt(String) - Method in class net.obvj.confectory.helper.GenericJsonConfigurationHelper
-
Returns the int value associated with the specified jsonPath in the
JsonNode in context, provided that the expression returns a single element that
can be mapped to int.
- getInt(String) - Method in class net.obvj.confectory.helper.NullConfigurationHelper
-
- getIntValue() - Method in interface net.obvj.confectory.helper.nullvalue.NullValueProvider
-
- getIntValue() - Method in class net.obvj.confectory.helper.nullvalue.StandardNullValueProvider
-
Returns 0.
- getLong(String) - Method in class net.obvj.confectory.Configuration
-
- getLong(String) - Method in class net.obvj.confectory.ConfigurationContainer
-
Returns the
long value associated with the specified
key in the default
namespace (or in all namespaces depending on the
DataFetchStrategy in scope).
- getLong(String, String) - Method in class net.obvj.confectory.ConfigurationContainer
-
Returns the long value associated with the specified key in the
specified namespace.
- getLong(String) - Method in interface net.obvj.confectory.ConfigurationDataRetriever
-
Returns the long value associated with the specified key.
- getLong(String) - Method in class net.obvj.confectory.helper.BasicConfigurationHelper
-
- getLong(String) - Method in class net.obvj.confectory.helper.GenericJsonConfigurationHelper
-
Returns the long value associated with the specified jsonPath in the
JsonNode in context, provided that the expression returns a single element that
can be mapped to long.
- getLong(String) - Method in class net.obvj.confectory.helper.NullConfigurationHelper
-
- getLongValue() - Method in interface net.obvj.confectory.helper.nullvalue.NullValueProvider
-
- getLongValue() - Method in class net.obvj.confectory.helper.nullvalue.StandardNullValueProvider
-
Returns 0L.
- getMapper() - Method in class net.obvj.confectory.Configuration
-
- getMapper() - Method in class net.obvj.confectory.ConfigurationBuilder
-
- getMapper() - Method in interface net.obvj.confectory.ConfigurationMetadataRetriever
-
Returns the Mapper object associated with this Configuration.
- getNamespace() - Method in class net.obvj.confectory.Configuration
-
- getNamespace() - Method in class net.obvj.confectory.ConfigurationBuilder
-
- getNamespace() - Method in interface net.obvj.confectory.ConfigurationMetadataRetriever
-
Returns the namespace defined for this Configuration object.
- getNamespaces() - Method in class net.obvj.confectory.ConfigurationContainer
-
Returns all of the namespaces defined inside this container.
- getNullValueProvider() - Method in class net.obvj.confectory.Configuration
-
- getNullValueProvider() - Method in class net.obvj.confectory.ConfigurationBuilder
-
- getNullValueProvider() - Method in class net.obvj.confectory.ConfigurationContainer
-
Returns the NullValueProvider associated with this container.
- getNullValueProvider() - Method in interface net.obvj.confectory.ConfigurationMetadataRetriever
-
Returns the NullValueProvider associated with this Configuration.
- getPrecedence() - Method in class net.obvj.confectory.Configuration
-
- getPrecedence() - Method in class net.obvj.confectory.ConfigurationBuilder
-
- getPrecedence() - Method in interface net.obvj.confectory.ConfigurationMetadataRetriever
-
Returns the precedence value defined for this Configuration object.
- getSource() - Method in class net.obvj.confectory.Configuration
-
- getSource() - Method in class net.obvj.confectory.ConfigurationBuilder
-
- getSource() - Method in interface net.obvj.confectory.ConfigurationMetadataRetriever
-
Returns the Source object associated with this Configuration.
- getString(String) - Method in class net.obvj.confectory.Configuration
-
- getString(String) - Method in class net.obvj.confectory.ConfigurationContainer
-
Returns the
String value associated with the specified
key in the
default namespace (or in all namespaces depending on the
DataFetchStrategy in
scope).
- getString(String, String) - Method in class net.obvj.confectory.ConfigurationContainer
-
Returns the String value associated with the specified key in the
specified namespace.
- getString(String) - Method in interface net.obvj.confectory.ConfigurationDataRetriever
-
Returns the String value associated with the specified key.
- getString(String) - Method in class net.obvj.confectory.helper.BeanConfigurationHelper
-
- getString(String) - Method in class net.obvj.confectory.helper.GenericJsonConfigurationHelper
-
Returns the String value associated with the specified jsonPath in the
JsonNode in context, provided that the expression returns a single element.
- getString(String) - Method in class net.obvj.confectory.helper.NullConfigurationHelper
-
- getString(String) - Method in class net.obvj.confectory.helper.PropertiesConfigurationHelper
-
- getStringValue() - Method in interface net.obvj.confectory.helper.nullvalue.NullValueProvider
-
- getStringValue() - Method in class net.obvj.confectory.helper.nullvalue.StandardNullValueProvider
-
Returns an empty String.