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
 GetActionsReply invokeGetActions(GetActionsRequest request, IssueTabPanelModuleDescriptor descriptor)
          Calls the getActions method on the IssueTabPanel.
 ShowPanelReply invokeShowPanel(ShowPanelRequest request, IssueTabPanelModuleDescriptor descriptor)
          Calls the showPanel method in the IssueTabPanel.
 

Method Detail

invokeShowPanel

ShowPanelReply 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

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