com.atlassian.jira.vcs
Interface RepositoryBrowser

All Known Implementing Classes:
ViewCvsBrowser

public interface RepositoryBrowser


Field Summary
static java.lang.String VIEW_CVS_TYPE
           
 
Method Summary
 java.lang.String getDiffLink(java.lang.String filePath, java.lang.String currentRevision)
          Returns the link to the diff between the current (given) revision of the file and the previous one.
 java.lang.String getFileLink(java.lang.String filePath)
          Returns the link to the main screen of the file
 java.lang.String getRevisionLink(java.lang.String filePath, java.lang.String revision)
          Returns the link to the actual (given) revison of the file
 java.lang.String getType()
           
 

Field Detail

VIEW_CVS_TYPE

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

getFileLink

public java.lang.String getFileLink(java.lang.String filePath)
Returns the link to the main screen of the file

Returns:

getRevisionLink

public java.lang.String getRevisionLink(java.lang.String filePath,
                                        java.lang.String revision)
Returns the link to the actual (given) revison of the file

Returns:

getDiffLink

public java.lang.String getDiffLink(java.lang.String filePath,
                                    java.lang.String currentRevision)
Returns the link to the diff between the current (given) revision of the file and the previous one.

Parameters:
filePath -
currentRevision -
Returns:

getType

public java.lang.String getType()