@Override public boolean checkParameters( String abstractParameterString, String validationParametersString) { try { NeptuneImportParameters parameters = JSONUtil.fromJSON(abstractParameterString, NeptuneImportParameters.class); ValidationParameters validationParameters = JSONUtil.fromJSON(validationParametersString, ValidationParameters.class); return checkParameters(parameters, validationParameters); } catch (Exception ex) { log.error(ex.getMessage()); return false; } }
@Override public AbstractParameter toActionParameter(String abstractParameter) { try { return JSONUtil.fromJSON(abstractParameter, NeptuneImportParameters.class); } catch (Exception e) { return null; } }