code: public ExecuteSQLQueryBuilder validateScript(String script, String type) {
          ScriptValidationContext scriptValidationContext = new ScriptValidationContext(type);
          scriptValidationContext.setValidationScript(script);
          action.setScriptValidationContext(scriptValidationContext);
          return this;
      }
docs: Validate SQL result set via validation script, for instance Groovy.
  @param script
  @param type