Interface ModalServiceModifier
- All Known Implementing Classes:
ModalServiceBuilder
public interface ModalServiceModifier
-
Method Summary
Modifier and TypeMethodDescriptionsetCache(com.google.common.cache.Cache<String, ModalHandler> cache) Set the cache implementation for the modal serviceModifies a provided cache builder instance.withLocalizer(ILocalizer localizer) Set theILocalizerfor theModalService.
-
Method Details
-
withLocalizer
Set theILocalizerfor theModalService. This is not required when the service is linked to aInteractionHub.- Parameters:
localizer- localizer instance- Returns:
- builder instance
-
setCache
Set the cache implementation for the modal service- Parameters:
cache- cache- Returns:
- builder instance
-
withCache
Modifies a provided cache builder instance.- Parameters:
cache- cache- Returns:
- builder instance
-