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,Object> paramCheckersInfo,
Map<String,DefinitionAndValue> oldDefinitionAndValues)
Compute the proper values and
ItemChecker 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,Object> paramCheckersInfo, Map<String,DefinitionAndValue> oldDefinitionAndValues)
ItemChecker
implementations to use for the test and order them by parameter checker idparamCheckersInfo
- the information concerning the parameter checkersoldDefinitionAndValues
- the map of old definition and values of the configuration