com.atlassian.jira.vcs.cvsimpl
Class CvsRepositoryUtilImpl

java.lang.Object
  extended bycom.atlassian.jira.vcs.cvsimpl.CvsRepositoryUtilImpl
All Implemented Interfaces:
CvsRepositoryUtil

public class CvsRepositoryUtilImpl
extends java.lang.Object
implements CvsRepositoryUtil


Constructor Summary
CvsRepositoryUtilImpl()
           
 
Method Summary
 void checkIsValidCvsRepository(alt.java.io.File cvsDirectory)
           
 CVSRoot getCVSRoot(java.io.File baseDir)
           
protected  CVSRoot getCVSRoot(java.lang.String root)
           
protected  CVSRoot getCVSRootFromRootFile(java.io.File rootFile)
           
 PServerConnection openConnectionToRepository(java.io.File baseDir, java.lang.String password)
           
 CvsContent parseCvsLogs(java.lang.String log, java.lang.String repositoryDirectoryName)
           
 java.lang.String updateCvs(java.io.File baseDir, java.lang.String password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.vcs.cvsimpl.CvsRepositoryUtil
getCVSRoot, openConnectionToRepository, updateCvs
 

Constructor Detail

CvsRepositoryUtilImpl

public CvsRepositoryUtilImpl()
Method Detail

checkIsValidCvsRepository

public void checkIsValidCvsRepository(alt.java.io.File cvsDirectory)
                               throws java.io.IOException
Specified by:
checkIsValidCvsRepository in interface CvsRepositoryUtil
Throws:
java.io.IOException

parseCvsLogs

public CvsContent parseCvsLogs(java.lang.String log,
                               java.lang.String repositoryDirectoryName)
                        throws java.io.IOException,
                               LogSyntaxException
Specified by:
parseCvsLogs in interface CvsRepositoryUtil
Throws:
java.io.IOException
LogSyntaxException

updateCvs

public java.lang.String updateCvs(java.io.File baseDir,
                                  java.lang.String password)
                           throws AuthenticationException,
                                  CommandException,
                                  java.io.IOException
Throws:
AuthenticationException
CommandException
java.io.IOException

openConnectionToRepository

public PServerConnection openConnectionToRepository(java.io.File baseDir,
                                                    java.lang.String password)
                                             throws AuthenticationException
Throws:
AuthenticationException

getCVSRoot

public CVSRoot getCVSRoot(java.io.File baseDir)

getCVSRootFromRootFile

protected CVSRoot getCVSRootFromRootFile(java.io.File rootFile)

getCVSRoot

protected CVSRoot getCVSRoot(java.lang.String root)