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 Object
implements RepositoryBrowser


Field Summary
static String KEY_BASE_URL
           
static String ROOT_PARAMETER
           
 
Fields inherited from interface com.atlassian.jira.vcs.RepositoryBrowser
VIEW_CVS_TYPE
 
Constructor Summary
ViewCvsBrowser(String baseURL, Map params)
           
 
Method Summary
 String getBaseURL()
           
 String getDiffLink(String filePath, String currentRevision)
          Returns the link to the diff between the current (given) revision of the file and the previous one.
 String getFileLink(String filePath)
          Returns the link to the main screen of the file
 String getRevisionLink(String filePath, String revision)
          Returns the link to the actual (given) revison of the file
 String getRootParameter()
           
 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 String KEY_BASE_URL
See Also:
Constant Field Values

ROOT_PARAMETER

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

ViewCvsBrowser

public ViewCvsBrowser(String baseURL,
                      Map params)
               throws MalformedURLException
Throws:
MalformedURLException
Method Detail

getFileLink

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

Specified by:
getFileLink in interface RepositoryBrowser

getRevisionLink

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

Specified by:
getRevisionLink in interface RepositoryBrowser

getDiffLink

public String getDiffLink(String filePath,
                          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

getType

public String getType()
Specified by:
getType in interface RepositoryBrowser

getBaseURL

public String getBaseURL()

getRootParameter

public String getRootParameter()


Copyright © 2002-2007 Atlassian. All Rights Reserved.