com.atlassian.jira.plugin.issuetabpanel
Interface IssueTabPanelInvoker

All Known Implementing Classes:
IssueTabPanelInvokerImpl

@Internal
public interface IssueTabPanelInvoker

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.

Since:
v5.0

Method Summary
 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.
 

Method Detail

invokeShowPanel

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

invokeGetActions

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


Copyright © 2002-2014 Atlassian. All Rights Reserved.