Returns the value related to the configuration key or null if the key is
not contained.

@param configParameter
configuration key
@return value or null
769018
public Object getConfigParameter(final ConfigurationKeys configParameter)
	{
		if (this.parameterMap.containsKey(configParameter)) {
			return this.parameterMap.get(configParameter);
		}

		return null;
	}
687538
private String getParameterValue(CmsObject cms, Map<String, String[]> parameterMap, String key) {

        String result = null;
        String[] params = parameterMap.get(key);
        if ((params != null) && (params.length > 0)) {
            result = params[0];
        }
        if (result == null) {
            return "";
        }
        return result;
    }
576137
String getFacetParamKey(String facet) {

        I_CmsSearchControllerFacetField fieldFacet = m_result.getController().getFieldFacets().getFieldFacetController().get(
            facet);
        if (fieldFacet != null) {
            return fieldFacet.getConfig().getParamKey();
        }
        I_CmsSearchControllerFacetRange rangeFacet = m_result.getController().getRangeFacets().getRangeFacetController().get(
            facet);
        if (rangeFacet != null) {
            return rangeFacet.getConfig().getParamKey();
        }
        I_CmsSearchControllerFacetQuery queryFacet = m_result.getController().getQueryFacet();
        if ((queryFacet != null) && queryFacet.getConfig().getName().equals(facet)) {
            return queryFacet.getConfig().getParamKey();
        }

        // Facet did not exist
        LOG.warn(Messages.get().getBundle().key(Messages.LOG_FACET_NOT_CONFIGURED_1, facet), new Throwable());

        return null;
    }
550447
public Object get(String key) {
    	if(config != null) {
    		return config.get(key);
    	}
    	else
    		return null;
    }
1301060
public ConfigurationItem getConfigurationItem(final String key) {
    if(key==null || key.trim().isEmpty()) throw new IllegalArgumentException("The passed key was null or empty");
    return getConfigurationItemByKey(configItemsByKey, key);
  }
335012
public Parameter<?> getParameter(String name) {
        Collection<Parameter<?>> extnParameters = getParameters();

        for (Parameter<?> extnParameter : extnParameters) {
            if (extnParameter.name().equals(name)) {
                return extnParameter;
            }
        }
        
        return null;
    }
587484
public static Map<String, String> parseParameter(final HierarchicalConfiguration config, final String subKey, final String nameKey, final String valueKey) {
		Map<String, String> parameters = new HashMap<>();
		for (HierarchicalConfiguration subConfig : config.configurationsAt(subKey)) {
			String name = subConfig.getString(nameKey);
			String value = subConfig.getString(valueKey);
			parameters.put(name, value);
		}
		return parameters;
	}
1179543
public final <T extends Parameter> T getParameter(final String aName) {
        for (final Parameter p : parameters) {
            if (aName.equalsIgnoreCase(p.getName())) {
                return (T) p;
            }
        }
        return null;
    }
749514
public String getInitParameter(String param)
    {
        if (_initParams==null)
            return null;
        return (String)_initParams.get(param);
    }
421188
@Override
  public Configuration getConfiguration() {
    return Tang.Factory.getTang().newConfigurationBuilder()
        .bindNamedParameter(TcpPortRangeBegin.class, String.valueOf(portRangeBegin))
        .bindNamedParameter(TcpPortRangeCount.class, String.valueOf(portRangeCount))
        .bindNamedParameter(TcpPortRangeTryCount.class, String.valueOf(portRangeTryCount))
        .bindSetEntry(EvaluatorConfigurationProviders.class, TcpPortConfigurationProvider.class)
        .build();
  }
113145
@Override
  public Config getResolvedConfig(final ConfigKeyPath configKey) {
    return getResolvedConfig(configKey, Optional.<Config>absent());
  }
573085
public ParameterValue getPathParameter(String name) {
        if (!getPathParameters().containsKey(name)) {
            return buildParameterValue();
        }

        return getPathParameters().get(name);
    }
328228
public String getProperty(String key, String defaultValue) {

		String property = configProperties.getProperty(key, defaultValue);
		if (property != null) {
			property = property.trim();
		}
		return property;
	}
390594
@Nullable
	public String getValueFrom(MethodParameter parameter) {

		Assert.notNull(parameter, "MethodParameter must not be null!");
		Annotation annotation = parameter.getParameterAnnotation(annotationType);
		return annotation == null ? null : getValueFrom(annotation);
	}
705968
public String get(ConfigKey pKey) {
        String value = globalConfig.get(pKey);
        if (value == null) {
            value = pKey.getDefaultValue();
        }
        return value;
    }
935243
public static String getConfigParam(String key, String defaultValue) {
		if (config == null) {
			init(null);
		}
		if (StringUtils.isBlank(key)) {
			return defaultValue;
		}
		String keyVar = key.replaceAll("\\.", "_");
		String env = System.getenv(keyVar) == null ? System.getenv(PARA + "_" + keyVar) : System.getenv(keyVar);
		String sys = System.getProperty(key, System.getProperty(PARA + "." + key));
		if (!StringUtils.isBlank(sys)) {
			return sys;
		} else if (!StringUtils.isBlank(env)) {
			return env;
		} else {
			return (!StringUtils.isBlank(key) && config.hasPath(key)) ? config.getString(key) : defaultValue;
		}
	}
340544
@Override
	public Parameter getParam(final String paramName) {
		Parameter param = getBindParameter(paramName);
		if (param == null) {
			Map<String, Parameter> constParams = getConstParameterMap();
			if (constParams != null) {
				param = constParams.get(paramName.toUpperCase());
			}
		}
		return param;
	}