public class CheckConfigAction extends ServiceableAction
Modifier and Type | Field and Description |
---|---|
private JSONUtils |
_jsonUtils
Helper component gathering utility methods for the management of JSON entities
|
manager
EMPTY_MAP
Constructor and Description |
---|
CheckConfigAction() |
Modifier and Type | Method and Description |
---|---|
private Map<String,Object> |
_getValuesByParamCheckerId(Map<String,String> oldUntypedValues,
Map<String,Object> paramCheckersInfo)
Compute the proper values and
ParameterChecker implementations to use for the test and order them by parameter checker id |
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
void |
service(ServiceManager serviceManager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private JSONUtils _jsonUtils
public CheckConfigAction()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableAction
ServiceException
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
Exception
private Map<String,Object> _getValuesByParamCheckerId(Map<String,String> oldUntypedValues, Map<String,Object> paramCheckersInfo)
ParameterChecker
implementations to use for the test and order them by parameter checker idoldUntypedValues
- the map of old untyped values of the configurationparamCheckersInfo
- the information concerning the parameter checkers