com.atlassian.jira.plugin.issuetabpanel
Class AbstractIssueAction

java.lang.Object
  extended by com.atlassian.jira.plugin.issuetabpanel.AbstractIssueAction
All Implemented Interfaces:
IssueAction
Direct Known Subclasses:
ChangeHistoryAction, CommentAction, CVSAction, WorklogAction

public abstract class AbstractIssueAction
extends java.lang.Object
implements IssueAction


Field Summary
protected  IssueTabPanelModuleDescriptor descriptor
           
 
Constructor Summary
AbstractIssueAction(IssueTabPanelModuleDescriptor descriptor)
           
 
Method Summary
 java.lang.String getHtml()
          Get the HTML to present for this issueAction on the tab panel.
abstract  java.util.Date getTimePerformed()
          This is used to sort between IssueAction objects on the 'All' tab.
 boolean isDisplayActionAllTab()
          Determines whether this action is displayed in the 'All' tab
protected abstract  void populateVelocityParams(java.util.Map params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

descriptor

protected final IssueTabPanelModuleDescriptor descriptor
Constructor Detail

AbstractIssueAction

public AbstractIssueAction(IssueTabPanelModuleDescriptor descriptor)
Method Detail

getTimePerformed

public abstract java.util.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
Returns:
timestamp of when the issue action was created, or throw UnsupportedOperationException if there is no timestamp (say for generic messages)
See Also:
IssueActionComparator

getHtml

public java.lang.String getHtml()
Description copied from interface: IssueAction
Get the HTML to present for this issueAction on the tab panel. IssueAction represents one entry of the tab panel

Specified by:
getHtml in interface IssueAction

populateVelocityParams

protected abstract void populateVelocityParams(java.util.Map params)

isDisplayActionAllTab

public boolean isDisplayActionAllTab()
Description copied from interface: IssueAction
Determines whether this action is displayed in the 'All' tab

Specified by:
isDisplayActionAllTab in interface IssueAction


Copyright © 2002-2011 Atlassian. All Rights Reserved.