@PublicSpi public abstract class

AbstractIssueTabPanel2

extends Object
implements IssueTabPanel2
java.lang.Object
   ↳ com.atlassian.jira.plugin.issuetabpanel.AbstractIssueTabPanel2
Known Direct Subclasses

@PublicSpi

This class is designed for plugins to implement.

Clients of @PublicSpi can expect that programs compiled against a given version will remain binary compatible with later versions of the @PublicSpi as per each product's API policy (clients should refer to each product's API policy for the exact guarantee -- usually binary compatibility is guaranteed at least across minor versions).

Note: @PublicSpi interfaces and classes are specifically designed to be implemented/extended by clients. Hence, the guarantee of binary compatibility is different to that of @PublicApi elements (if an element is both @PublicApi and @PublicSpi, both guarantees apply).

Class Overview

Convenience class for implementors of IssueTabPanel2.

Summary

Public Constructors
AbstractIssueTabPanel2()
Public Methods
final List<IssueAction> getActions(Issue issue, User remoteUser)
Bridge method that delegates to the new getActions(GetActionsRequest) method.
final void init(IssueTabPanelModuleDescriptor descriptor)
Initialises this AbstractIssueTabPanel2's descriptor and calls the initialisation hook in the subclass.
final boolean showPanel(Issue issue, User remoteUser)
Bridge method that delegates to the new showPanel(ShowPanelRequest) method.
Protected Methods
final IssueTabPanelModuleDescriptor descriptor()
void init()
Subclasses of AbstractIssueTabPanel2 may implement this method in order to perform initialisation work.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.plugin.issuetabpanel.IssueTabPanel
From interface com.atlassian.jira.plugin.issuetabpanel.IssueTabPanel2

Public Constructors

public AbstractIssueTabPanel2 ()

Public Methods

public final List<IssueAction> getActions (Issue issue, User remoteUser)

Bridge method that delegates to the new getActions(GetActionsRequest) method.

Parameters
issue The Issue.
remoteUser The viewing user.
Returns
  • a List

public final void init (IssueTabPanelModuleDescriptor descriptor)

Initialises this AbstractIssueTabPanel2's descriptor and calls the initialisation hook in the subclass.

Parameters
descriptor an IssueTabPanelModuleDescriptor

public final boolean showPanel (Issue issue, User remoteUser)

Bridge method that delegates to the new showPanel(ShowPanelRequest) method.

Parameters
issue The Issue.
remoteUser The viewing user.
Returns
  • true if we should show this tab panel to the given User for the given Issue.

Protected Methods

protected final IssueTabPanelModuleDescriptor descriptor ()

Returns
  • the IssueTabPanelModuleDescriptor for this IssueTabPanel

protected void init ()

Subclasses of AbstractIssueTabPanel2 may implement this method in order to perform initialisation work.