Package io.apicurio.common.apps.config
Interface DynamicConfigStorage
-
public interface DynamicConfigStorage- Author:
- eric.wittmann@gmail.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteConfigProperty(String propertyName)Deletes a config property from storage.List<DynamicConfigPropertyDto>getConfigProperties()Gets a list of all stored config properties.DynamicConfigPropertyDtogetConfigProperty(String propertyName)Should return the stored config property or null if not found.voidsetConfigProperty(DynamicConfigPropertyDto propertyDto)Sets a new value for a config property.
-
-
-
Method Detail
-
getConfigProperty
DynamicConfigPropertyDto getConfigProperty(String propertyName)
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
void setConfigProperty(DynamicConfigPropertyDto propertyDto)
Sets a new value for a config property.- Parameters:
propertyDto- the property name and value
-
deleteConfigProperty
void deleteConfigProperty(String propertyName)
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
-
-