@Override
  public String getStartCommand() {
    StringBuilder sb = new StringBuilder();
    sb.append(controller.getProductExecutable(this, "cacheserver"));
    sb.append(" start -dir=");
    sb.append(getConfig().getWorkingDirectory());

    String file = getConfig().getCacheXMLFile();
    if (file != null && file.length() > 0) {
      sb.append(" ");
      sb.append(CACHE_XML_FILE);
      sb.append("=");
      sb.append(file);
    }

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

    appendConfiguration(sb);

    return sb.toString().trim();
  }
Creates a new <code>CacheServerImpl</code> that represents an existing dedicated cache server
in a given distributed system.
geode-core/src/main/java/org/apache/geode/admin/internal/CacheServerImpl.java