Class GenericMessageAction

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

@PublicApi public class GenericMessageAction extends Object implements IssueAction
A simple action that can be used to display generic messages.
  • Constructor Details

    • GenericMessageAction

      public GenericMessageAction(@Nonnull String message)
  • Method Details

    • 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:
    • 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