com.atlassian.jira.plugin.profile
Class ViewProfilePanelModuleDescriptor

java.lang.Object
  extended by com.atlassian.plugin.descriptors.AbstractModuleDescriptor
      extended by com.atlassian.jira.plugin.JiraResourcedModuleDescriptor
          extended by com.atlassian.jira.plugin.profile.ViewProfilePanelModuleDescriptor
All Implemented Interfaces:
OrderableModuleDescriptor, com.atlassian.plugin.ModuleDescriptor, com.atlassian.plugin.Resourced

public class ViewProfilePanelModuleDescriptor
extends JiraResourcedModuleDescriptor
implements OrderableModuleDescriptor

Defines a plugin point for rendering content on the JIRA view profile page.

Since:
v3.12

Field Summary
static String DEFAULT_TAB_KEY
           
static String TAB_KEY
           
 
Fields inherited from class com.atlassian.jira.plugin.JiraResourcedModuleDescriptor
RESOURCE_TYPE_I18N
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
plugin, resources, singleton
 
Constructor Summary
ViewProfilePanelModuleDescriptor(JiraAuthenticationContext authenticationContext)
           
 
Method Summary
 Object getModule()
           
 int getOrder()
           
 String getTabKey()
          Returns the "tab" key with which this panel is associated.
 void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element)
           
 
Methods inherited from class com.atlassian.jira.plugin.JiraResourcedModuleDescriptor
assertResourceExists, createVelocityParams, getAuthenticationContext, getClassLoader, getDescription, getHtml, getHtml, getI18nBean, getI18nLocations, getName, getText, getText, isResourceExist
 
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, destroy, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getParams, getPlugin, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, satisfiesMinJavaVersion, setPlugin, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TAB_KEY

public static final String TAB_KEY
See Also:
Constant Field Values

DEFAULT_TAB_KEY

public static final String DEFAULT_TAB_KEY
See Also:
Constant Field Values
Constructor Detail

ViewProfilePanelModuleDescriptor

public ViewProfilePanelModuleDescriptor(JiraAuthenticationContext authenticationContext)
Method Detail

init

public void init(com.atlassian.plugin.Plugin plugin,
                 org.dom4j.Element element)
          throws com.atlassian.plugin.PluginParseException
Specified by:
init in interface com.atlassian.plugin.ModuleDescriptor
Overrides:
init in class JiraResourcedModuleDescriptor
Throws:
com.atlassian.plugin.PluginParseException

getModule

public Object getModule()
Specified by:
getModule in interface com.atlassian.plugin.ModuleDescriptor
Specified by:
getModule in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor

getOrder

public int getOrder()
Specified by:
getOrder in interface OrderableModuleDescriptor

getTabKey

public String getTabKey()
Returns the "tab" key with which this panel is associated. This should be the i18n property key that can be translated into the displayable tab name.

Returns:
the i18n key that uniquely identifies he tab and can be used to get the display name.


Copyright © 2002-2008 Atlassian. All Rights Reserved.