com.atlassian.jira.vcs.viewcvs
Class ViewCvsBrowser

java.lang.Object
  extended by com.atlassian.jira.vcs.viewcvs.ViewCvsBrowser
All Implemented Interfaces:
RepositoryBrowser

public class ViewCvsBrowser
extends java.lang.Object
implements RepositoryBrowser


Field Summary
static java.lang.String KEY_BASE_URL
           
static java.lang.String ROOT_PARAMETER
           
 
Fields inherited from interface com.atlassian.jira.vcs.RepositoryBrowser
VIEW_CVS_TYPE
 
Constructor Summary
ViewCvsBrowser(java.lang.String baseURL, java.util.Map params)
           
 
Method Summary
 java.lang.String getBaseURL()
           
 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 getRootParameter()
           
 java.lang.String getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_BASE_URL

public static final java.lang.String KEY_BASE_URL
See Also:
Constant Field Values

ROOT_PARAMETER

public static final java.lang.String ROOT_PARAMETER
See Also:
Constant Field Values
Constructor Detail

ViewCvsBrowser

public ViewCvsBrowser(java.lang.String baseURL,
                      java.util.Map params)
               throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException
Method Detail

getFileLink

public java.lang.String getFileLink(java.lang.String filePath)
Description copied from interface: RepositoryBrowser
Returns the link to the main screen of the file

Specified by:
getFileLink in interface RepositoryBrowser
Returns:

getRevisionLink

public java.lang.String getRevisionLink(java.lang.String filePath,
                                        java.lang.String revision)
Description copied from interface: RepositoryBrowser
Returns the link to the actual (given) revison of the file

Specified by:
getRevisionLink in interface RepositoryBrowser
Returns:

getDiffLink

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

Specified by:
getDiffLink in interface RepositoryBrowser
Returns:

getType

public java.lang.String getType()
Specified by:
getType in interface RepositoryBrowser

getBaseURL

public java.lang.String getBaseURL()

getRootParameter

public java.lang.String getRootParameter()


Copyright © 2002-2006 Atlassian. All Rights Reserved.