public class

DarkFeaturesUserProfilePanel

extends Object
implements OptionalUserProfilePanel ViewProfilePanel
java.lang.Object
   ↳ com.atlassian.jira.plugin.profile.DarkFeaturesUserProfilePanel

Class Overview

A panel for viewing and editing Dark Features. Best pretend you never saw this.

Summary

[Expand]
Inherited Constants
From interface com.atlassian.jira.plugin.profile.ViewProfilePanel
Public Constructors
DarkFeaturesUserProfilePanel(JiraAuthenticationContext authenticationContext, PermissionManager permissionManager, FeatureManager featureManager)
Public Methods
String getHtml(ApplicationUser profileUser)
Renders the html to be used in this profile panel.
void init(ViewProfilePanelModuleDescriptor moduleDescriptor)
This method is called on plugin initialization and provides the module with a reference to the parent module descriptor.
boolean showPanel(ApplicationUser profileUser, ApplicationUser currentUser)
Whether or not to show the panel for a given user to a given user.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.plugin.profile.OptionalUserProfilePanel
From interface com.atlassian.jira.plugin.profile.ViewProfilePanel

Public Constructors

public DarkFeaturesUserProfilePanel (JiraAuthenticationContext authenticationContext, PermissionManager permissionManager, FeatureManager featureManager)

Public Methods

public String getHtml (ApplicationUser profileUser)

Renders the html to be used in this profile panel.

Parameters
profileUser The user whose profile is being viewed. May be null.
Returns
  • the html content.

public void init (ViewProfilePanelModuleDescriptor moduleDescriptor)

This method is called on plugin initialization and provides the module with a reference to the parent module descriptor.

Parameters
moduleDescriptor the controlling class that doles out this module.

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