allensoft.javacvs.client
Class RepositoryDetails.ExtConnectionType

java.lang.Object
  |
  +--allensoft.javacvs.client.RepositoryDetails.ExtConnectionType
Enclosing class:
RepositoryDetails

public static final class RepositoryDetails.ExtConnectionType
extends java.lang.Object

Defines possible connection types when using the ext or server connection methods.


Field Summary
static RepositoryDetails.ExtConnectionType EXTERNAL_COMMAND
           
static RepositoryDetails.ExtConnectionType EXTERNAL_RSH
           
static RepositoryDetails.ExtConnectionType EXTERNAL_SSH
           
static RepositoryDetails.ExtConnectionType INTERNAL_SSH
           
 
Method Summary
static RepositoryDetails.ExtConnectionType get(java.lang.String sName)
          Gets the ExtConnectionType that has the specified name or null if one does not exist.
static RepositoryDetails.ExtConnectionType[] getAll()
          Gets an array of all possible external connection types.
 java.lang.String getDescription()
          Gets a locale dependant description for this connection type.
 java.lang.String getName()
          Gets a locale independant name for this connection type.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EXTERNAL_RSH

public static final RepositoryDetails.ExtConnectionType EXTERNAL_RSH

INTERNAL_SSH

public static final RepositoryDetails.ExtConnectionType INTERNAL_SSH

EXTERNAL_SSH

public static final RepositoryDetails.ExtConnectionType EXTERNAL_SSH

EXTERNAL_COMMAND

public static final RepositoryDetails.ExtConnectionType EXTERNAL_COMMAND
Method Detail

getName

public java.lang.String getName()
Gets a locale independant name for this connection type.

getDescription

public java.lang.String getDescription()
Gets a locale dependant description for this connection type.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

get

public static RepositoryDetails.ExtConnectionType get(java.lang.String sName)
Gets the ExtConnectionType that has the specified name or null if one does not exist.

getAll

public static RepositoryDetails.ExtConnectionType[] getAll()
Gets an array of all possible external connection types.