package com.intellij.remote;

/**
 * @author traff
 */
public enum RemoteConnectionType {
  DEFAULT_SDK, DEPLOYMENT_SERVER, REMOTE_SDK, CURRENT_VAGRANT, NONE;

  public static RemoteConnectionType findByName(String name) {
    try {
      return valueOf(name);
    }
    catch (Exception e) {
      return NONE;
    }
  }
}

@@ -34,123 +34,460 @@
 %0A * 
-@author traff%0A */%0Apublic enum RemoteConnectionType %7B%0A  DEFAULT_SDK, DEPLOYMENT_SERVER, REMOTE_SDK, CURRENT_VAGRANT,
+This class denotes the type of the source to obtain remote credentials. %0A * %0A * @author traff%0A */%0Apublic enum RemoteConnectionType %7B%0A  /**%0A   * Currently selected SDK (e.g. %3CProject default%3E) %0A   */%0A  DEFAULT_SDK,%0A  /**%0A   * Web deployment server  %0A   */%0A  DEPLOYMENT_SERVER,%0A  /**%0A   * Remote SDK%0A   */%0A  REMOTE_SDK,%0A  /**%0A   * Current project vagrant%0A   */%0A  CURRENT_VAGRANT,%0A  /**%0A   * No source is predefined - it would be asked on request %0A   */%0A 
  NON

Add javadoc for RemoteConnectionType.