com.atlassian.jira.plugin.issuetabpanel
Interface IssueTabPanelInvoker

All Known Implementing Classes:
IssueTabPanelInvokerImpl

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, IssueTabPanel issueTabPanel)
          Calls the getActions method on the IssueTabPanel.
 ShowPanelReply invokeShowPanel(ShowPanelRequest request, IssueTabPanel tabPanel)
          Calls the showPanel method in the IssueTabPanel.
 

Method Detail

invokeShowPanel

ShowPanelReply invokeShowPanel(ShowPanelRequest request,
                               IssueTabPanel tabPanel)
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
tabPanel - an IssueTabPanel
Returns:
a ShowPanelReply

invokeGetActions

GetActionsReply invokeGetActions(GetActionsRequest request,
                                 IssueTabPanel issueTabPanel)
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
issueTabPanel - an IssueTabPanel
Returns:
a GetActionsReply


Copyright © 2002-2012 Atlassian. All Rights Reserved.