Module io.inverno.mod.configuration
Class CompositeConfigurationSource.CompositeConfigurationQueryResult
java.lang.Object
io.inverno.mod.configuration.internal.GenericConfigurationQueryResult
io.inverno.mod.configuration.source.CompositeConfigurationSource.CompositeConfigurationQueryResult
- All Implemented Interfaces:
ConfigurationQueryResult
- Enclosing class:
CompositeConfigurationSource
public static class CompositeConfigurationSource.CompositeConfigurationQueryResult
extends io.inverno.mod.configuration.internal.GenericConfigurationQueryResult
The configuration query result returned by a composite configuration source.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
- See Also:
-
Field Summary
Fields inherited from class io.inverno.mod.configuration.internal.GenericConfigurationQueryResult
error, errorSource, queryKey, queryResult
-
Method Summary
Modifier and TypeMethodDescriptionReturns the resulting configuration property.unwrap()
Returns the original result returned by an underlying source.Methods inherited from class io.inverno.mod.configuration.internal.GenericConfigurationQueryResult
getQueryKey
-
Method Details
-
unwrap
Returns the original result returned by an underlying source.
- Returns:
- the original query result
-
getResult
Description copied from interface:ConfigurationQueryResult
Returns the resulting configuration property.
- Specified by:
getResult
in interfaceConfigurationQueryResult
- Overrides:
getResult
in classio.inverno.mod.configuration.internal.GenericConfigurationQueryResult
- Returns:
- an optional returning the configuration property or an empty optional if the configuration returned no value for the property
- Throws:
ConfigurationSourceException
- if there was an error retrieving the configuration property
-