Class IssueTabPanelModuleDescriptorImpl
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<PaginatedIssueTabPanel>
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 PaginatedIssueTabPanel
Creates an instance of the Module.void
enabled()
getLabel()
int
getOrder()
void
init
(com.atlassian.plugin.Plugin plugin, com.atlassian.plugin.module.Element element) boolean
boolean
boolean
Methods inherited from class com.atlassian.jira.plugin.AbstractJiraModuleDescriptor
assertResourceExists, createVelocityParams, disabled, getAuthenticationContext, getClassLoader, getDescription, getHtml, getHtml, getI18nBean, getModule, getName, getText, getText, isResourceExist, writeHtml
Methods 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, validate
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.atlassian.jira.plugin.JiraResourcedModuleDescriptor
getHtml, getHtml, getI18nBean, writeHtml
Methods 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, setBroken
Methods inherited from interface com.atlassian.plugin.Resourced
getResourceDescriptor, getResourceDescriptors, getResourceLocation
Methods 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:
init
in interfacecom.atlassian.plugin.ModuleDescriptor<PaginatedIssueTabPanel>
- Overrides:
init
in classAbstractJiraModuleDescriptor<PaginatedIssueTabPanel>
- Throws:
com.atlassian.plugin.PluginParseException
-
enabled
public void enabled()- Specified by:
enabled
in interfacecom.atlassian.plugin.StateAware
- Overrides:
enabled
in classAbstractJiraModuleDescriptor<PaginatedIssueTabPanel>
-
getLabel
- Specified by:
getLabel
in interfaceIssueTabPanelModuleDescriptor
-
createModule
Description copied from class:AbstractJiraModuleDescriptor
Creates 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:
createModule
in classAbstractJiraModuleDescriptor<PaginatedIssueTabPanel>
- Returns:
- a new instance of the module.
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceIssueTabPanelModuleDescriptor
- Specified by:
getOrder
in interfaceOrderableModuleDescriptor
-
isDefault
public boolean isDefault()- Specified by:
isDefault
in interfaceIssueTabPanelModuleDescriptor
-
isSortable
public boolean isSortable()- Specified by:
isSortable
in interfaceIssueTabPanelModuleDescriptor
-
isSupportsAjaxLoad
public boolean isSupportsAjaxLoad()- Specified by:
isSupportsAjaxLoad
in interfaceIssueTabPanelModuleDescriptor
- Returns:
- a boolean indicating whether the issue tab panel can be loaded using an AJAX request
-
getLoadNewerLabel
- Specified by:
getLoadNewerLabel
in interfaceIssueTabPanelModuleDescriptor
-
getLoadOlderLabel
- Specified by:
getLoadOlderLabel
in interfaceIssueTabPanelModuleDescriptor
-
getLoadAllNewerLabel
- Specified by:
getLoadAllNewerLabel
in interfaceIssueTabPanelModuleDescriptor
-
getLoadAllOlderLabel
- Specified by:
getLoadAllOlderLabel
in interfaceIssueTabPanelModuleDescriptor
-