Returns the value of a specific app setting (property).
@param key a key
@return a map containing one element {"value": "the_value"} or an empty map.
970259
public Map<String, Object> appSettings(String key) {
		if (StringUtils.isBlank(key)) {
			return appSettings();
		}
		return getEntity(invokeGet(Utils.formatMessage("_settings/{0}", key), null), Map.class);
	}
1113164
public String getRawProperty(String key)
	{
		Map<Object,Object> properties = this.getProperties();
		
		return (String)properties.get(key);
	}
48658
@Override
  public String get(String key, String defaultValue)
  {
    String value = _map.get(key);

    if (value != null) {
      return value;
    }
    else {
      return defaultValue;
    }
  }
394234
public Object getStateProperty(String key) {
		if (!StringUtils.isBlank(key)) {
			return getDeviceState().get(key);
		}
		return null;
	}
282005
public Object get(Object key)
    {
        if (key==null)
            return _nullValue;
        if (key instanceof String)
            return get((String)key);
        return get(key.toString());
    }
1348984
public Object getValue(String key) {
        if (values == null) {
            return null;
        }
        return values.get(key);
    }
26338
public Property get(String key) {
        for (Property property : properties) {
            if (property.getKey().equals(key)) {
                return property;
            }
        }
        return null;
    }
157264
public String getProperty(
                    final String key
                    )
    {
        String  value = System.getProperty( key );
        if (value != null) {
            return value;
        }

        value = _getConfigProperties().getProperty( key );

        return value;
    }
1209655
public String getProperty(String key)
	{
		String servicePid = this.getServicePid();
		String value = null;
		if (!key.contains("."))
		{
			value = context.getProperty(servicePid + '.' + key);
	        if ((value == null) && (properties != null))
	            value = properties.get(servicePid + '.' + key);
		}
        if (value == null)
			value = context.getProperty(key);
        if ((value == null) && (properties != null))
            value = properties.get(key);
		return value;
	}
1085516
public String getValueForDisplayValue(final String key) {
        if (mapDisplayValuesToValues.containsKey(key)) {
            return mapDisplayValuesToValues.get(key);
        }
        return key;
    }
743657
@SuppressWarnings("unchecked")
  public <T> T getRequiredValue(String key) {

    T value = (T) map.get(key);
    if (value == null) {
      throw new RequiredParameterException();
    }
    return value;
  }
729126
public String get(String key) {
        Objects.requireNonNull(key, Required.KEY.toString());

        return this.values.get(key);
    }
541855
public boolean containsValues(
      java.lang.String key) {
    if (key == null) { throw new java.lang.NullPointerException(); }
    return internalGetValues().getMap().containsKey(key);
  }
948371
static String getExpressValue(final String key) {
    if (isExpression(key)) {
      String keyValue = getSystemProperty(key.substring(2, key.length() - 1));
      return keyValue == null ? key : keyValue;
    } else {
      return key;
    }
  }
387847
private Object findByKey(String key) {
		Object value = Config.get(request, key);
		if (value != null) {
			return value;
		}

		value = Config.get(request.getSession(createNewSession()), key);
		if (value != null) {
			return value;
		}

		value = Config.get(request.getServletContext(), key);
		if (value != null) {
			return value;
		}

		return request.getServletContext().getInitParameter(key);
	}
172800
public Object get(String key)
    {
        if (key==null)
            return _nullValue;
        
        Map.Entry entry = getEntry(key,0,key.length());
        if (entry==null)
            return null;
        return entry.getValue();
    }
1234489
private CommandOption<?> findBySetting(String key) {

		Assert.notNullOrEmptyTrimmed(key, "Missing setting key!");

		Optional<CommandOption> found = options.stream().filter(o -> o.getSetting().equals(key)).findFirst();
		return found.orElse(null);
	}