tools/src/main/java/com/orientechnologies/orient/server/config/OServerConfiguration.java
public String getProperty(final String iName, final String iDefaultValue) {
    if (properties == null)
      return null;

    for (OServerEntryConfiguration p : properties) {
      if (p.name.equals(iName))
        return p.value;
    }

    return null;
  }
public String getProperty(final String iName, final String iDefaultValue) {
    if (properties == null)
      return null;

    for (OServerEntryConfiguration p : properties) {
      if (p.name.equals(iName))
        return p.value;
    }

    return null;
  }
Returns the property value configured, if any.

@param iName
Property name to find
@param iDefaultValue
Default value returned if not found