Package org.cache2k.config
Interface ValidatingConfigBean
-
- All Superinterfaces:
BeanMarker
,ConfigBean
- All Known Implementing Classes:
CustomizationSupplierByClassName
public interface ValidatingConfigBean extends ConfigBean
Configuration bean that is able to validate itself.- Author:
- Jens Wilke
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
validate()
Check whether the configuration is valid, especially whether mandatory fields are set.-
Methods inherited from interface org.cache2k.config.ConfigBean
builder
-
-
-
-
Method Detail
-
validate
void validate()
Check whether the configuration is valid, especially whether mandatory fields are set.- Throws:
IllegalStateException
- if configuration is not valid
-
-