com.atlassian.jira.vcs
Interface Repository

All Superinterfaces:
java.lang.Comparable<Repository>
All Known Implementing Classes:
AbstractRepository, CvsRepository

public interface Repository
extends java.lang.Comparable<Repository>


Field Summary
static java.lang.String KEY_REPOSITTORY_BROWSER_TYPE
           
 
Method Summary
 void copyContent(Repository repository)
          Copies the content of the given repository only if it is the same type.
 java.util.List<net.sf.statcvs.model.Commit> getCommitsForIssue(java.lang.String issueKey)
          Get a list of commits for a particular issue
 java.lang.String getDescription()
           
 java.lang.Long getId()
           
 java.lang.String getName()
           
 RepositoryBrowser getRepositoryBrowser()
           
 java.lang.String getType()
           
 void setRepositoryBrowser(RepositoryBrowser repositoryBrowser)
           
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

KEY_REPOSITTORY_BROWSER_TYPE

static final java.lang.String KEY_REPOSITTORY_BROWSER_TYPE
See Also:
Constant Field Values
Method Detail

getCommitsForIssue

java.util.List<net.sf.statcvs.model.Commit> getCommitsForIssue(java.lang.String issueKey)
                                                               throws RepositoryException
Get a list of commits for a particular issue

Parameters:
issueKey - issue key
Returns:
List a list of Commit objects
Throws:
RepositoryException - if cannot retrieve commits for given issue

getId

java.lang.Long getId()

getName

java.lang.String getName()

getDescription

java.lang.String getDescription()

getType

java.lang.String getType()

setRepositoryBrowser

void setRepositoryBrowser(RepositoryBrowser repositoryBrowser)

getRepositoryBrowser

RepositoryBrowser getRepositoryBrowser()

copyContent

void copyContent(Repository repository)
Copies the content of the given repository only if it is the same type.

Parameters:
repository - repository to copy the content of
Since:
v3.10


Copyright © 2002-2010 Atlassian. All Rights Reserved.