com.atlassian.jira.issue.tabpanels
Class CVSAction

java.lang.Object
  extended by com.atlassian.jira.plugin.issuetabpanel.AbstractIssueAction
      extended by com.atlassian.jira.issue.tabpanels.CVSAction
All Implemented Interfaces:
IssueAction

public class CVSAction
extends AbstractIssueAction


Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.issuetabpanel.AbstractIssueAction
descriptor
 
Constructor Summary
CVSAction(IssueTabPanelModuleDescriptor descriptor, CVSCommit commit)
           
 
Method Summary
 String getBranchName()
           
 String getComment()
           
 String getDiffLink(String filePath, String revision)
           
 String getFileLink(String filePath)
           
 String getFullName()
           
 String getRepositoryName()
           
 String getRevisionLink(String filePath, String revision)
           
 Collection getRevisions()
           
 Date getTimePerformed()
          This is used to sort between IssueAction objects on the 'All' tab.
 User getUser()
           
 String getUsername()
           
 boolean hasRepositoryViewer()
           
protected  void populateVelocityParams(Map params)
           
 
Methods inherited from class com.atlassian.jira.plugin.issuetabpanel.AbstractIssueAction
getHtml, isDisplayActionAllTab
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CVSAction

public CVSAction(IssueTabPanelModuleDescriptor descriptor,
                 CVSCommit commit)
Method Detail

getTimePerformed

public Date getTimePerformed()
Description copied from interface: IssueAction
This is used to sort between IssueAction objects on the 'All' tab.

Specified by:
getTimePerformed in interface IssueAction
Specified by:
getTimePerformed in class AbstractIssueAction
Returns:
timestamp of when the issue action was created, or throw UnsupportedOperationException if there is no timestamp (say for generic messages)
See Also:
IssueActionComparator

populateVelocityParams

protected void populateVelocityParams(Map params)
Specified by:
populateVelocityParams in class AbstractIssueAction

getUsername

public String getUsername()

getUser

public User getUser()

getFullName

public String getFullName()

getComment

public String getComment()

getRevisions

public Collection getRevisions()

getRepositoryName

public String getRepositoryName()

getBranchName

public String getBranchName()

hasRepositoryViewer

public boolean hasRepositoryViewer()

getFileLink

public String getFileLink(String filePath)

getRevisionLink

public String getRevisionLink(String filePath,
                              String revision)

getDiffLink

public String getDiffLink(String filePath,
                          String revision)


Copyright © 2002-2009 Atlassian. All Rights Reserved.