Class CheckDataSourceHelper
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.runtime.plugins.admin.datasource.CheckDataSourceHelper
- All Implemented Interfaces:
LogEnabled,Component,Serviceable
Checks the validity of a data source's parameters
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
The avalon role
-
-
Constructor Details
-
CheckDataSourceHelper
public CheckDataSourceHelper()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
check
Check the datasource configuration values for the requested checkers- Parameters:
fieldCheckersInfo- a JSON map of the checkers info- Returns:
- a map with each failed checker id and the associated message
-