示例#1
0
  private BackendData getBuildBackendData(final RuntimeInfo info) {
    final RuntimeInfo myinfo = RuntimeInfo.copy(info, false);

    final BackendData result = new BackendData(runtimeInfoManager, myinfo);
    result.setNodeName(
        info.getVersion().asMajor().toString() + "_" + BackendUtils.getErlideNodeNameTag());
    result.setCookie("erlide");
    result.setDebug(false);
    result.setAutostart(true);
    result.setConsole(false);
    result.setLongName(HostnameUtils.canUseLongNames());
    result.setInternal(true);
    return result;
  }
示例#2
0
 private BackendData getIdeBackendData() {
   final RuntimeInfo info = getIdeRuntimeInfo();
   final BackendData result = new BackendData(runtimeInfoManager, info);
   result.setNodeName(getIdeNodeName());
   result.setDebug(false);
   result.setAutostart(true);
   result.setConsole(false);
   result.setLongName(HostnameUtils.canUseLongNames());
   if (SystemConfiguration.getInstance().isDeveloper()) {
     result.setConsole(true);
   }
   if (SystemConfiguration.getInstance().isMonitoringIdeBackend()) {
     result.setMonitored(true);
   }
   result.setInternal(true);
   return result;
 }