com.atlassian.jira.issue.tabpanels
Class GenericMessageAction

java.lang.Object
  extended by com.atlassian.jira.issue.tabpanels.GenericMessageAction
All Implemented Interfaces:
IssueAction

public class GenericMessageAction
extends Object
implements IssueAction

A simple action that can be used to display generic messages.


Constructor Summary
GenericMessageAction(String message)
           
 
Method Summary
 String getHtml()
          Get the HTML to present for this issueAction on the tab panel.
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericMessageAction

public GenericMessageAction(String message)
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
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 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

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-2012 Atlassian. All Rights Reserved.