Get the values for a particular configuration property

@param name - name of the property
@return All values encountered or null
770499
public Configuration[] getConfigurations(String name) {
        ArrayList<Configuration> valuesList = new ArrayList<Configuration>();

        logger.info("Getting data for {}", name);

        PreparedStatement statement = null;
        ResultSet results = null;

        try (Connection sqlConnection = sqlService.getConnection()) {

            String queryString = "SELECT * FROM " + Constants.DB_TABLE_CONFIGURATION;
            if (name != null) {
                queryString += " WHERE " + Constants.DB_TABLE_CONFIGURATION_NAME + "=?";
            }

            statement = sqlConnection.prepareStatement(queryString);
            if (name != null) {
                statement.setString(1, name);
            }

            results = statement.executeQuery();
            while (results.next()) {
                Configuration config = new Configuration();
                config.setValue(results.getString(Constants.DB_TABLE_CONFIGURATION_VALUE));
                config.setKey(results.getString(Constants.DB_TABLE_CONFIGURATION_NAME));
                config.setId(results.getInt(Constants.GENERIC_ID));
                logger.info("the configValue is = {}", config.getValue());
                valuesList.add(config);
            }
        } catch (SQLException sqe) {
            logger.info("Exception in sql");
            sqe.printStackTrace();
        } finally {
            try {
                if (results != null) {
                    results.close();
                }
            } catch (Exception e) {
            }
            try {
                if (statement != null) {
                    statement.close();
                }
            } catch (Exception e) {
            }
        }

        if (valuesList.size() == 0) {
            return null;
        }

        return valuesList.toArray(new Configuration[0]);
    }
59536
private String getProperty(String name) {
	if (properties != null) {
	    String value = properties.get(name);
	    if (value != null) return value;

	    Iterator<Entry<String, String>> it = properties.entrySet().iterator();
	    Entry<String, String> e;
	    while (it.hasNext()) {
		e = it.next();
		if (name.equalsIgnoreCase(e.getKey())) return e.getValue();
	    }
	}
	return null;
    }
338633
public Collection<Object> getPropertyOrDefault(final String name, final Collection<Object> defaultValues) {
        if (this.properties.containsKey(name)) {
            return this.properties.get(name);
        }
        return defaultValues;
    }
594411
@SuppressWarnings({"unused", "WeakerAccess"})
    public Object getProperty(String name) {
        if (!this.config.isPersonalizationEnabled()) return null;
        return getLocalDataStore().getProfileProperty(name);
    }
126928
public final <C extends Property> PropertyList<C> getProperties(final String name) {
        return getProperties().getProperties(name);
    }
593550
public T getValue(final String name) {
		if (name == null) {
			return null;
		}
		String uppercased = name.toUpperCase();
		return namesToValues.get(uppercased);
	}
838731
public Object getProperty(String name) {
		if (!StringUtils.isBlank(name)) {
			return getProperties().get(name);
		}
		return null;
	}
1083251
private Configuration getConfigByName(String name) {
    if (config != null) {
      for (Configuration c : config) {
        if (c != null && c.getStringValue(Parameters.ConcurrentEntityName.ordinal(), "").equals(name)) {
          return c;
        }
      }
    }
    return null;
  }
737787
public String getValue(String name, String dflt) {
        Property prop = getProperty(name);
        return prop == null ? dflt : prop.getValue();
    }
224104
public String[] values(String name) {
        final HttpHeader header = getHeader(name);
        return header == null ? null : header.values();
    }
162749
@Override
    public Object getValue(String name)
    {
        Object value = super.getValue(name);
        if (value != null)
        {
            return value;
        }
        else
        {
            return configMap.get(name);
        }
    }
1230419
public String [] get(final String name) {
		if(has(name)) {
			List<String> values = headers.get(name).getValues();
			return values.toArray(new String [values.size()]);
		}
		else
			return null;
	}
208851
private String getValue(String name) {
        for (YamlProperties yamlProp : yamlProps) {
            String value = yamlProp.getString(name);
            if (value != null)
                return value;
        }
        if (javaProps != null) {
            for (Properties javaProp : javaProps) {
                String value = javaProp.getProperty(name);
                if (value != null)
                    return value;
            }
        }
        return null;
    }
1292926
public Set<Property> getProperties(String name) {
        Set<Property> ret = new HashSet<Property>();
        for (Property property : this.properties) {
            if (property.getName().equals(name)) {
                ret.add(property);
            }
        }
        return ret;
    }
327248
public VarValueDef getValue( Object name)
    {
    int i = findValue( name);
    return i >= 0? values_.get(i) : null;
    }
847934
public static List<Object> getList(String name){
        if(getConfiguration().containsKey(name)){
            return getConfiguration().getList(name);
        }
        return null;
    }
216553
@ConfInfo(dontSave = true)
  public String getProperty(final Collection<String> col,
                            final String name) {
    String key = name + "=";
    for (String p: col) {
      if (p.startsWith(key)) {
        return p.substring(key.length());
      }
    }

    return null;
  }