Package io.apicurio.common.apps.config
Interface DynamicConfigStorage
public interface DynamicConfigStorage
- Author:
- eric.wittmann@gmail.com
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteConfigProperty(String propertyName) Deletes a config property from storage.Gets a list of all stored config properties.getConfigProperty(String propertyName) Should return the stored config property or null if not found.booleanisReady()voidsetConfigProperty(DynamicConfigPropertyDto propertyDto) Sets a new value for a config property.
-
Method Details
-
isReady
boolean isReady() -
getConfigProperty
Should return the stored config property or null if not found.- Parameters:
propertyName- the name of a property- Returns:
- the property value or null if not found
-
setConfigProperty
Sets a new value for a config property.- Parameters:
propertyDto- the property name and value
-
deleteConfigProperty
Deletes a config property from storage.- Parameters:
propertyName- the name of a property
-
getConfigProperties
List<DynamicConfigPropertyDto> getConfigProperties()Gets a list of all stored config properties.- Returns:
- a list of stored properties
-