com.atlassian.jira.vcs
Interface Repository

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

public interface Repository
extends Comparable<Repository>


Field Summary
static 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.
 List<net.sf.statcvs.model.Commit> getCommitsForIssue(String issueKey)
          Get a list of commits for a particular issue
 String getDescription()
           
 Long getId()
           
 String getName()
           
 RepositoryBrowser getRepositoryBrowser()
           
 String getType()
           
 void setRepositoryBrowser(RepositoryBrowser repositoryBrowser)
           
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

KEY_REPOSITTORY_BROWSER_TYPE

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

getCommitsForIssue

List<net.sf.statcvs.model.Commit> getCommitsForIssue(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

Long getId()

getName

String getName()

getDescription

String getDescription()

getType

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-2012 Atlassian. All Rights Reserved.