com.atlassian.jira.vcs.cvsimpl
Class CvsRepository
java.lang.Object
com.atlassian.jira.vcs.AbstractRepository
com.atlassian.jira.vcs.cvsimpl.CvsRepository
- All Implemented Interfaces:
- Repository, Comparable
public class CvsRepository
- extends AbstractRepository
Methods inherited from class com.atlassian.jira.vcs.AbstractRepository |
compareTo, getDescription, getId, getName, getRepositoryBrowser, getUpdateDelay, setDescription, setId, setName, setRepositoryBrowser, setUpdateDelay |
KEY_BASEDIR
public static final String KEY_BASEDIR
- See Also:
- Constant Field Values
CVS_OPERATION_TIMEOUT_DEFAULT
public static final int CVS_OPERATION_TIMEOUT_DEFAULT
- See Also:
- Constant Field Values
KEY_LOG_FILE_PATH
public static final String KEY_LOG_FILE_PATH
- See Also:
- Constant Field Values
KEY_CVS_ROOT
public static final String KEY_CVS_ROOT
- See Also:
- Constant Field Values
KEY_MODULE_NAME
public static final String KEY_MODULE_NAME
- See Also:
- Constant Field Values
KEY_PASSWORD
public static final String KEY_PASSWORD
- See Also:
- Constant Field Values
KEY_FETCH_LOG
public static final String KEY_FETCH_LOG
- See Also:
- Constant Field Values
KEY_CVS_TIMEOUT
public static final String KEY_CVS_TIMEOUT
- See Also:
- Constant Field Values
CvsRepository
public CvsRepository(com.opensymphony.module.propertyset.PropertySet propertySet,
CvsRepositoryUtil cvsRepositoryUtil)
getCvsLogFilePath
public String getCvsLogFilePath()
setCvsLogFilePath
public void setCvsLogFilePath(String cvsLogFilePath)
getCvsRoot
public String getCvsRoot()
setCvsRoot
public void setCvsRoot(String cvsRoot)
getModuleName
public String getModuleName()
setModuleName
public void setModuleName(String moduleName)
setPassword
public void setPassword(String password)
getPassword
public String getPassword()
getCvsTimeout
public int getCvsTimeout()
setCvsTimeout
public void setCvsTimeout(int cvsTimeout)
getCvsTimeoutStringInSeconds
public String getCvsTimeoutStringInSeconds()
fetchLog
public boolean fetchLog()
setFetchLog
public void setFetchLog(boolean fetchLog)
updateCvs
public String updateCvs()
throws org.netbeans.lib.cvsclient.command.CommandException,
org.netbeans.lib.cvsclient.connection.AuthenticationException,
IOException,
LockException
- The filename where the log has been written
- Throws:
org.netbeans.lib.cvsclient.command.CommandException
org.netbeans.lib.cvsclient.connection.AuthenticationException
IOException
LockException
getCommitsForIssue
public List getCommitsForIssue(String issueKey)
throws RepositoryException
- Return a list of
Commit
objects
- Parameters:
issueKey
-
- Returns:
- List a list of
Commit
objects
- Throws:
RepositoryException
updateRepository
public void updateRepository()
throws org.netbeans.lib.cvsclient.command.CommandException,
org.netbeans.lib.cvsclient.connection.AuthenticationException,
IOException,
LockException,
net.sf.statcvs.input.LogSyntaxException
- Throws:
org.netbeans.lib.cvsclient.command.CommandException
org.netbeans.lib.cvsclient.connection.AuthenticationException
IOException
LockException
net.sf.statcvs.input.LogSyntaxException
getType
public String getType()
toString
public String toString()
- Overrides:
toString
in class AbstractRepository
equals
public boolean equals(Object o)
- Overrides:
equals
in class AbstractRepository
hashCode
public int hashCode()
- Overrides:
hashCode
in class AbstractRepository
Copyright © 2002-2007 Atlassian. All Rights Reserved.