Module io.inverno.mod.configuration
Package io.inverno.mod.configuration
Interface ConfigurationUpdateResult
- All Known Implementing Classes:
io.inverno.mod.configuration.internal.GenericConfigurationUpdateResult
,VersionedRedisConfigurationSource.VersionedRedisConfigurationUpdateResult
public interface ConfigurationUpdateResult
Represents a single update result.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
check()
Checks that the update was successful.Returns the configuration key corresponding to the update that was executed.
-
Method Details
-
getUpdateKey
ConfigurationKey getUpdateKey()Returns the configuration key corresponding to the update that was executed.
- Returns:
- a configuration key
-
check
Checks that the update was successful.
- Throws:
ConfigurationSourceException
- if the update was not successful
-