Class TopNavigationModuleDescriptorImpl
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
com.atlassian.jira.plugin.AbstractJiraModuleDescriptor<PluggableTopNavigation>
com.atlassian.jira.plugin.navigation.TopNavigationModuleDescriptorImpl
- All Implemented Interfaces:
JiraResourcedModuleDescriptor<PluggableTopNavigation>,TopNavigationModuleDescriptor,OrderableModuleDescriptor,com.atlassian.plugin.ModuleDescriptor<PluggableTopNavigation>,com.atlassian.plugin.Resourced,com.atlassian.plugin.ScopeAware,com.atlassian.plugin.StateAware,com.atlassian.plugin.web.api.descriptors.ConditionalDescriptor
public class TopNavigationModuleDescriptorImpl
extends AbstractJiraModuleDescriptor<PluggableTopNavigation>
implements TopNavigationModuleDescriptor
Module descriptor used for plugins that render the top navigation in JIRA.
- Since:
- v3.12
-
Field Summary
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources -
Constructor Summary
ConstructorsConstructorDescriptionTopNavigationModuleDescriptorImpl(JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, com.atlassian.webresource.api.WebResourceUrlProvider webResourceUrlProvider, PermissionManager permissionManager, WebFragmentWebComponent webFragmentWebComponent, UserProjectHistoryManager userProjectHistoryManager, com.atlassian.plugin.module.ModuleFactory moduleFactory, com.atlassian.plugin.web.api.DynamicWebInterfaceManager webInterfaceManager, ConditionDescriptorFactoryImpl conditionDescriptorFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoidenabled()com.atlassian.plugin.web.ConditionintgetOrder()getTopNavigationContext(javax.servlet.http.HttpServletRequest request, Map<String, Object> startingParams) getthe velocity context associated with this <top-navigation> module.getTopNavigationHtml(javax.servlet.http.HttpServletRequest request, Map<String, Object> startingParms) render the velocity associated with this <top-navigation> module.voidinit(com.atlassian.plugin.Plugin plugin, com.atlassian.plugin.module.Element element) Methods inherited from class com.atlassian.jira.plugin.AbstractJiraModuleDescriptor
assertResourceExists, createModule, 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
-
TopNavigationModuleDescriptorImpl
public TopNavigationModuleDescriptorImpl(JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, com.atlassian.webresource.api.WebResourceUrlProvider webResourceUrlProvider, PermissionManager permissionManager, WebFragmentWebComponent webFragmentWebComponent, UserProjectHistoryManager userProjectHistoryManager, com.atlassian.plugin.module.ModuleFactory moduleFactory, com.atlassian.plugin.web.api.DynamicWebInterfaceManager webInterfaceManager, ConditionDescriptorFactoryImpl conditionDescriptorFactory)
-
-
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<PluggableTopNavigation>- Overrides:
initin classAbstractJiraModuleDescriptor<PluggableTopNavigation>- Throws:
com.atlassian.plugin.PluginParseException
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceOrderableModuleDescriptor
-
enabled
public void enabled()- Specified by:
enabledin interfacecom.atlassian.plugin.StateAware- Overrides:
enabledin classAbstractJiraModuleDescriptor<PluggableTopNavigation>
-
getCondition
public com.atlassian.plugin.web.Condition getCondition()- Specified by:
getConditionin interfacecom.atlassian.plugin.web.api.descriptors.ConditionalDescriptor
-