public interface

OptionalUserProfilePanel

com.atlassian.jira.plugin.profile.OptionalUserProfilePanel
Known Indirect Subclasses

Class Overview

An optional interface for ViewProfilePanel modules that allows the panel to only be show when a criteria is met.

Summary

Public Methods
boolean showPanel(ApplicationUser profileUser, ApplicationUser currentUser)
Whether or not to show the panel for a given user to a given user.

Public Methods

public boolean showPanel (ApplicationUser profileUser, ApplicationUser currentUser)

Whether or not to show the panel for a given user to a given user.

Parameters
profileUser The profile being requested
currentUser The current user
Returns
  • true if the panel should be show, otherwise false