@Override public void validate( @NotNull final ActionParametersMap params, @NotNull final ErrorCollection errorCollection) { super.validate(params, errorCollection); enforceFieldRequiredness(params, errorCollection); encryptApiKey(params); }
public void validate(final ActionParametersMap params, final ErrorCollection errorCollection) { super.validate(params, errorCollection); this.validator.params = params; this.validator.errorCollection = errorCollection; this.errorCollection = errorCollection; validator.validateZsUrl(); validator.validateApiKey(); validator.validateApiSecret(); validator.validateAppName(); validator.validateBaseUrl(); validator.validateZsVersion(); validateRetry(params.getString("retry")); validateWaittime(params.getString("waittime")); }