@Override
  public String getStartCommand() {
    StringBuilder sb = new StringBuilder();
    sb.append(controller.getProductExecutable(this, "gemfire"));
    sb.append(" start-locator -q -dir=");
    sb.append(getConfig().getWorkingDirectory());
    sb.append(" -port=");
    sb.append(getConfig().getPort());
    Properties props = config.getDistributedSystemProperties();
    Enumeration<?> en = props.propertyNames();
    while (en.hasMoreElements()) {
      String pn = (String) en.nextElement();
      sb.append(" -D" + GeodeGlossary.GEMFIRE_PREFIX + "").append(pn).append("=")
          .append(props.getProperty(pn));
    }

    String bindAddress = getConfig().getBindAddress();
    if (bindAddress != null && bindAddress.length() > 0) {
      sb.append(" -address=");
      sb.append(getConfig().getBindAddress());
    }
    sb.append(" ");

    String sslArgs = controller.buildSSLArguments(system.getConfig());
    if (sslArgs != null) {
      sb.append(sslArgs);
    }

    return sb.toString().trim();
  }
Returns a string representation of the object.

@return a string representation of the object
geode-core/src/main/java/org/apache/geode/admin/internal/DistributionLocatorImpl.java