com.atlassian.jira.vcs.cvsimpl
Interface CvsRepositoryUtil

All Known Implementing Classes:
CvsRepositoryUtilImpl

public interface CvsRepositoryUtil


Method Summary
 void checkCvsRoot(String cvsRoot)
           
 void checkLogFilePath(alt.java.io.File logFile, boolean fetchLog)
           
 org.netbeans.lib.cvsclient.connection.Connection openConnectionToRepository(String cvsRoot, String password)
          Creates a connection to a CVS Repository given a CVS root
 net.sf.statcvs.model.CvsContent parseCvsLogs(alt.java.io.File logFile, String moduleName, String repositoryPath, String repositoryName)
           
 org.netbeans.lib.cvsclient.CVSRoot parseCvsRoot(String cvsRoot)
           
 void updateCvs(alt.java.io.File logFile, String cvsRoot, String moduleName, String password, long cvsTimeout)
           
 

Method Detail

parseCvsLogs

net.sf.statcvs.model.CvsContent parseCvsLogs(alt.java.io.File logFile,
                                             String moduleName,
                                             String repositoryPath,
                                             String repositoryName)
                                             throws IOException,
                                                    net.sf.statcvs.input.LogSyntaxException,
                                                    LockException
Throws:
IOException
net.sf.statcvs.input.LogSyntaxException
LockException

updateCvs

void updateCvs(alt.java.io.File logFile,
               String cvsRoot,
               String moduleName,
               String password,
               long cvsTimeout)
               throws org.netbeans.lib.cvsclient.connection.AuthenticationException,
                      org.netbeans.lib.cvsclient.command.CommandException,
                      IOException,
                      LockException
Throws:
org.netbeans.lib.cvsclient.connection.AuthenticationException
org.netbeans.lib.cvsclient.command.CommandException
IOException
LockException

openConnectionToRepository

org.netbeans.lib.cvsclient.connection.Connection openConnectionToRepository(String cvsRoot,
                                                                            String password)
                                                                            throws org.netbeans.lib.cvsclient.command.CommandAbortedException,
                                                                                   org.netbeans.lib.cvsclient.connection.AuthenticationException
Creates a connection to a CVS Repository given a CVS root

Parameters:
cvsRoot - the string representing a CVS root
Returns:
an unopened connection to CVS repository
Throws:
org.netbeans.lib.cvsclient.command.CommandAbortedException
org.netbeans.lib.cvsclient.connection.AuthenticationException

parseCvsRoot

org.netbeans.lib.cvsclient.CVSRoot parseCvsRoot(String cvsRoot)

checkLogFilePath

void checkLogFilePath(alt.java.io.File logFile,
                      boolean fetchLog)
                      throws ValidationException
Throws:
ValidationException

checkCvsRoot

void checkCvsRoot(String cvsRoot)
                  throws ValidationException
Throws:
ValidationException


Copyright © 2002-2013 Atlassian. All Rights Reserved.