|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.vcs.cvsimpl.CvsRepositoryUtilImpl
public class CvsRepositoryUtilImpl
| Constructor Summary | |
|---|---|
CvsRepositoryUtilImpl()
|
|
| Method Summary | |
|---|---|
void |
checkCvsRoot(String cvsRoot)
|
void |
checkLogFilePath(alt.java.io.File logFile,
boolean fetchLog)
Checks for the validity of the given CVS log file |
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)
Parses the commit information form the cvs log |
org.netbeans.lib.cvsclient.CVSRoot |
parseCvsRoot(String cvsRoot)
|
void |
updateCvs(alt.java.io.File logFile,
String cvsRoot,
String moduleName,
String password,
long cvsTimeout)
Fetches the CVS log using the rlog cvs command |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CvsRepositoryUtilImpl()
| Method Detail |
|---|
public void checkLogFilePath(alt.java.io.File logFile,
boolean fetchLog)
throws ValidationException
checkLogFilePath in interface CvsRepositoryUtillogFile - the location of teh cvs log filefetchLog - wether the cvs log is fetched into this file
ValidationException - if there is a problem. The exception contains a useful error message.
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
parseCvsLogs in interface CvsRepositoryUtillogFile - the file containing cvs logmoduleName - the name of the module which the cvs log file representsrepositoryPath - the path used in cvs root while obtaining the log
IOException
net.sf.statcvs.input.LogSyntaxException
LockException
public 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
updateCvs in interface CvsRepositoryUtillogFile - the file where the cvs log will be writtencvsRoot - the string representation of the CVS rootmoduleName - the name of the module the log of which we will be retrievingpassword - the password for the repository (can be null)
org.netbeans.lib.cvsclient.connection.AuthenticationException
org.netbeans.lib.cvsclient.command.CommandException
IOException
LockException
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
CvsRepositoryUtil
openConnectionToRepository in interface CvsRepositoryUtilcvsRoot - the string representing a CVS root
org.netbeans.lib.cvsclient.command.CommandAbortedException
org.netbeans.lib.cvsclient.connection.AuthenticationExceptionpublic org.netbeans.lib.cvsclient.CVSRoot parseCvsRoot(String cvsRoot)
parseCvsRoot in interface CvsRepositoryUtil
public void checkCvsRoot(String cvsRoot)
throws ValidationException
checkCvsRoot in interface CvsRepositoryUtilValidationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||