com.atlassian.jira.vcs.cvsimpl
Class CvsRepository

java.lang.Object
  extended bycom.atlassian.jira.vcs.AbstractRepository
      extended bycom.atlassian.jira.vcs.cvsimpl.CvsRepository
All Implemented Interfaces:
Repository

public class CvsRepository
extends AbstractRepository


Field Summary
static java.lang.String KEY_BASEDIR
           
static java.lang.String KEY_PASSWORD
           
static java.lang.String KEY_UPDATEDELAY
           
 
Fields inherited from class com.atlassian.jira.vcs.AbstractRepository
description, id, KEY_DESCRIPTION, KEY_NAME, name, updateDelay
 
Fields inherited from interface com.atlassian.jira.vcs.Repository
KEY_REPOSITTORY_BROWSER_TYPE
 
Constructor Summary
CvsRepository()
           
CvsRepository(PropertySet propertySet, CvsRepositoryUtil cvsRepositoryUtil)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getAuthMethod()
           
 java.lang.String getBaseDir()
           
 java.util.List getCommitsForIssue(java.lang.String issueKey)
          Return a list of Commit objects
 CVSRoot getCVSRoot()
           
 java.lang.String getPassword()
           
 java.lang.String getType()
           
 int hashCode()
           
 void parseCvsLogs()
           
 void setAuthMethod(java.lang.String authMethod)
           
 void setBaseDir(java.lang.String baseDir)
           
 void setPassword(java.lang.String password)
           
 java.lang.String toString()
           
 void updateCvs()
           
 
Methods inherited from class com.atlassian.jira.vcs.AbstractRepository
getDescription, getId, getName, getRepositoryBrowser, getUpdateDelay, setDescription, setId, setName, setRepositroryBrowser, setUpdateDelay
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

KEY_BASEDIR

public static final java.lang.String KEY_BASEDIR
See Also:
Constant Field Values

KEY_PASSWORD

public static final java.lang.String KEY_PASSWORD
See Also:
Constant Field Values

KEY_UPDATEDELAY

public static final java.lang.String KEY_UPDATEDELAY
See Also:
Constant Field Values
Constructor Detail

CvsRepository

public CvsRepository(PropertySet propertySet,
                     CvsRepositoryUtil cvsRepositoryUtil)

CvsRepository

public CvsRepository()
Method Detail

getBaseDir

public java.lang.String getBaseDir()

setPassword

public void setPassword(java.lang.String password)

getPassword

public java.lang.String getPassword()

parseCvsLogs

public void parseCvsLogs()
                  throws java.io.IOException,
                         LogSyntaxException
Throws:
java.io.IOException
LogSyntaxException

updateCvs

public void updateCvs()
               throws CommandException,
                      AuthenticationException,
                      java.io.IOException
Throws:
CommandException
AuthenticationException
java.io.IOException

getCommitsForIssue

public java.util.List getCommitsForIssue(java.lang.String issueKey)
                                  throws RepositoryException
Return a list of Commit objects

Parameters:
issueKey -
Returns:
Throws:
RepositoryException

setAuthMethod

public void setAuthMethod(java.lang.String authMethod)

getAuthMethod

public java.lang.String getAuthMethod()

setBaseDir

public void setBaseDir(java.lang.String baseDir)

getType

public java.lang.String getType()

getCVSRoot

public CVSRoot getCVSRoot()

toString

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

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class AbstractRepository

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractRepository