@Internal public interface

IssueTabPanelInvoker

com.atlassian.jira.plugin.issuetabpanel.IssueTabPanelInvoker
Known Indirect Subclasses

@Internal

This interface is an internal implementation detail and will change without notice.

Clients that depend on @Internal classes and interfaces can not expect to be compatible with any version other than the version they were compiled against (even minor version and milestone releases may break binary compatibility with respect to @Internal elements).

Class Overview

This class is used to safely call into IssueTabPanel and IssueTabPanel2 implementations. The methods in this class do not propagate any exception that may be thrown. Instead, they log exception and display an error message where possible.

Summary

Public Methods
List<IssueAction> invokeGetActions(GetActionsRequest request, IssueTabPanelModuleDescriptor descriptor)
Calls the getActions method on the IssueTabPanel.
boolean invokeShowPanel(ShowPanelRequest request, IssueTabPanelModuleDescriptor descriptor)
Calls the showPanel method in the IssueTabPanel.

Public Methods

public List<IssueAction> invokeGetActions (GetActionsRequest request, IssueTabPanelModuleDescriptor descriptor)

Calls the getActions method on the IssueTabPanel. If the getActions implementation throws any exceptions then this method logs the exception and returns a reply containing a single action that renders an error message..

Parameters
request a GetActionsRequest
descriptor the tab panel's module descriptor
Returns
  • a GetActionsReply

public boolean invokeShowPanel (ShowPanelRequest request, IssueTabPanelModuleDescriptor descriptor)

Calls the showPanel method in the IssueTabPanel. If the showPanel implementation throws any exceptions this method logs the exception and returns a reply containing true.

Parameters
request a ShowPanelRequest
descriptor the tab panel's module descriptor
Returns
  • a ShowPanelReply