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, int cvsTimeout)
           
 

Method Detail

parseCvsLogs

public 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

public void updateCvs(alt.java.io.File logFile,
                      String cvsRoot,
                      String moduleName,
                      String password,
                      int 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

public 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

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

checkLogFilePath

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

checkCvsRoot

public void checkCvsRoot(String cvsRoot)
                  throws ValidationException
Throws:
ValidationException


Copyright © 2002-2006 Atlassian. All Rights Reserved.