Class IssueTabPanelModuleDescriptorImpl
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
com.atlassian.jira.plugin.AbstractJiraModuleDescriptor<PaginatedIssueTabPanel>
com.atlassian.jira.plugin.issuetabpanel.IssueTabPanelModuleDescriptorImpl
- All Implemented Interfaces:
IssueTabPanelModuleDescriptor,JiraResourcedModuleDescriptor<PaginatedIssueTabPanel>,OrderableModuleDescriptor,com.atlassian.plugin.ModuleDescriptor<PaginatedIssueTabPanel>,com.atlassian.plugin.Resourced,com.atlassian.plugin.ScopeAware,com.atlassian.plugin.StateAware
public class IssueTabPanelModuleDescriptorImpl
extends AbstractJiraModuleDescriptor<PaginatedIssueTabPanel>
implements IssueTabPanelModuleDescriptor
An issue tab panel plugin adds extra panel tabs to JIRA's View Issue page.
-
Field Summary
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources -
Constructor Summary
ConstructorsConstructorDescriptionIssueTabPanelModuleDescriptorImpl(JiraAuthenticationContext authenticationContext, com.atlassian.plugin.module.ModuleFactory moduleFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected PaginatedIssueTabPanelCreates an instance of the Module.voidenabled()getLabel()intgetOrder()voidinit(com.atlassian.plugin.Plugin plugin, com.atlassian.plugin.module.Element element) booleanbooleanbooleanMethods inherited from class com.atlassian.jira.plugin.AbstractJiraModuleDescriptor
assertResourceExists, createVelocityParams, disabled, getAuthenticationContext, getClassLoader, getDescription, getHtml, getHtml, getI18nBean, getModule, getName, getText, getText, isResourceExist, writeHtmlMethods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, checkPermissions, destroy, equals, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, satisfiesMinJavaVersion, setBroken, setPlugin, toString, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.jira.plugin.JiraResourcedModuleDescriptor
getHtml, getHtml, getI18nBean, writeHtmlMethods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBrokenMethods inherited from interface com.atlassian.plugin.Resourced
getResourceDescriptor, getResourceDescriptors, getResourceLocationMethods inherited from interface com.atlassian.plugin.ScopeAware
getScopeKey
-
Constructor Details
-
IssueTabPanelModuleDescriptorImpl
public IssueTabPanelModuleDescriptorImpl(JiraAuthenticationContext authenticationContext, com.atlassian.plugin.module.ModuleFactory moduleFactory)
-
-
Method Details
-
init
public void init(com.atlassian.plugin.Plugin plugin, com.atlassian.plugin.module.Element element) throws com.atlassian.plugin.PluginParseException - Specified by:
initin interfacecom.atlassian.plugin.ModuleDescriptor<PaginatedIssueTabPanel>- Overrides:
initin classAbstractJiraModuleDescriptor<PaginatedIssueTabPanel>- Throws:
com.atlassian.plugin.PluginParseException
-
enabled
public void enabled()- Specified by:
enabledin interfacecom.atlassian.plugin.StateAware- Overrides:
enabledin classAbstractJiraModuleDescriptor<PaginatedIssueTabPanel>
-
getLabel
- Specified by:
getLabelin interfaceIssueTabPanelModuleDescriptor
-
createModule
Description copied from class:AbstractJiraModuleDescriptorCreates an instance of the Module.This is called by the lazy load logic of getModule() and is suitable for overriding in subclasses if they want to customize how the Module class is instantiated.
- Overrides:
createModulein classAbstractJiraModuleDescriptor<PaginatedIssueTabPanel>- Returns:
- a new instance of the module.
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceIssueTabPanelModuleDescriptor- Specified by:
getOrderin interfaceOrderableModuleDescriptor
-
isDefault
public boolean isDefault()- Specified by:
isDefaultin interfaceIssueTabPanelModuleDescriptor
-
isSortable
public boolean isSortable()- Specified by:
isSortablein interfaceIssueTabPanelModuleDescriptor
-
isSupportsAjaxLoad
public boolean isSupportsAjaxLoad()- Specified by:
isSupportsAjaxLoadin interfaceIssueTabPanelModuleDescriptor- Returns:
- a boolean indicating whether the issue tab panel can be loaded using an AJAX request
-
getLoadNewerLabel
- Specified by:
getLoadNewerLabelin interfaceIssueTabPanelModuleDescriptor
-
getLoadOlderLabel
- Specified by:
getLoadOlderLabelin interfaceIssueTabPanelModuleDescriptor
-
getLoadAllNewerLabel
- Specified by:
getLoadAllNewerLabelin interfaceIssueTabPanelModuleDescriptor
-
getLoadAllOlderLabel
- Specified by:
getLoadAllOlderLabelin interfaceIssueTabPanelModuleDescriptor
-