code: static void setParam(String name, Object value) {
          try {
              if (value instanceof List) {
                  setCollectionParam(name, (List<?>)value);
              } else if (value instanceof String) {
                  setParamFromString(name, (String)value);
              } else {
                  setScalarParam(name, value);
              }
          } catch (ConfigurationException e) {
              logger.warn(e.getMessage() + " -- Ignoring.");
          }
      }
docs: setParams