net.sf.bloof.scm.cvsplugin
Class CvsConnectionMethod

java.lang.Object
  |
  +--net.sf.bloof.scm.cvsplugin.CvsConnectionMethod
All Implemented Interfaces:
ScmConnectionMethod

public final class CvsConnectionMethod
extends java.lang.Object
implements ScmConnectionMethod

Defines the possible types of connection methods.

Author:
Nicholas Allen, Lukasz Pekacki

Field Summary
static CvsConnectionMethod EXT
          CvsConnectionMethod Types
static java.lang.String ID_EXT
          Valid connection methods
static java.lang.String ID_LOGFILE
          Valid connection methods
static java.lang.String ID_PSERVER
          Valid connection methods
static java.lang.String ID_SAMPLE
          Valid connection methods
static java.lang.String ID_SSH
          Valid connection methods
static CvsConnectionMethod LOCAL
          CvsConnectionMethod Types
static CvsConnectionMethod LOGFILE
          CvsConnectionMethod Types
static java.lang.String METHOD_LOCAL
          Valid connection methods
static CvsConnectionMethod PSERVER
          CvsConnectionMethod Types
static CvsConnectionMethod SAMPLE
          CvsConnectionMethod Types
static CvsConnectionMethod SSH
          CvsConnectionMethod Types
 
Method Summary
 java.lang.String getCvsRootMethodName()
          Returns the Type of connection as used in CVSROOT
 boolean isSsh()
          Returns if this connection is a SSH connection or not
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

METHOD_LOCAL

public static final java.lang.String METHOD_LOCAL
Valid connection methods

See Also:
Constant Field Values

ID_PSERVER

public static final java.lang.String ID_PSERVER
Valid connection methods

See Also:
Constant Field Values

ID_EXT

public static final java.lang.String ID_EXT
Valid connection methods

See Also:
Constant Field Values

ID_SSH

public static final java.lang.String ID_SSH
Valid connection methods

See Also:
Constant Field Values

ID_LOGFILE

public static final java.lang.String ID_LOGFILE
Valid connection methods

See Also:
Constant Field Values

ID_SAMPLE

public static final java.lang.String ID_SAMPLE
Valid connection methods

See Also:
Constant Field Values

LOCAL

public static final CvsConnectionMethod LOCAL
CvsConnectionMethod Types


PSERVER

public static final CvsConnectionMethod PSERVER
CvsConnectionMethod Types


EXT

public static final CvsConnectionMethod EXT
CvsConnectionMethod Types


SSH

public static final CvsConnectionMethod SSH
CvsConnectionMethod Types


LOGFILE

public static final CvsConnectionMethod LOGFILE
CvsConnectionMethod Types


SAMPLE

public static final CvsConnectionMethod SAMPLE
CvsConnectionMethod Types

Method Detail

getCvsRootMethodName

public java.lang.String getCvsRootMethodName()
Returns the Type of connection as used in CVSROOT

Returns:
Type of connection as used in CVSROOT

isSsh

public boolean isSsh()
Returns if this connection is a SSH connection or not

Returns:
if this connection is a SSH connection or not

toString

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


Copyright © 2003 bloof@Sourceforge. All Rights Reserved.