Class CheckConfigAction
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.acting.AbstractAction
-
- org.apache.cocoon.acting.ServiceableAction
-
- org.ametys.runtime.plugins.admin.configuration.CheckConfigAction
-
- All Implemented Interfaces:
Component,LogEnabled,Serviceable,Action
public class CheckConfigAction extends ServiceableAction
Fetch the test values and dispatch the requests to the appropriate parameter checkers.
-
-
Field Summary
Fields Modifier and Type Field Description private JSONUtils_jsonUtilsHelper component gathering utility methods for the management of JSON entities-
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
-
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
-
Constructor Summary
Constructors Constructor Description CheckConfigAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private Map<String,Object>_getValuesByParamCheckerId(Map<String,Object> paramCheckersInfo, Map<String,DefinitionAndValue> oldDefinitionAndValues)Compute the proper values andItemCheckerimplementations to use for the test and order them by parameter checker idMapact(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters)voidservice(ServiceManager serviceManager)-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
_jsonUtils
private JSONUtils _jsonUtils
Helper component gathering utility methods for the management of JSON entities
-
-
Constructor Detail
-
CheckConfigAction
public CheckConfigAction()
-
-
Method Detail
-
service
public void service(ServiceManager serviceManager) throws ServiceException
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classServiceableAction- Throws:
ServiceException
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
- Throws:
Exception
-
_getValuesByParamCheckerId
private Map<String,Object> _getValuesByParamCheckerId(Map<String,Object> paramCheckersInfo, Map<String,DefinitionAndValue> oldDefinitionAndValues)
Compute the proper values andItemCheckerimplementations to use for the test and order them by parameter checker id- Parameters:
paramCheckersInfo- the information concerning the parameter checkersoldDefinitionAndValues- the map of old definition and values of the configuration- Returns:
- the map of values lists ordered by parameter checker
-
-