public class TopNavigationModuleDescriptorImpl extends AbstractJiraModuleDescriptor<PluggableTopNavigation> implements TopNavigationModuleDescriptor
Constructor and Description |
---|
TopNavigationModuleDescriptorImpl(JiraAuthenticationContext authenticationContext,
ApplicationProperties applicationProperties,
com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider,
PermissionManager permissionManager,
WebFragmentWebComponent webFragmentWebComponent,
UserProjectHistoryManager userProjectHistoryManager,
com.atlassian.plugin.module.ModuleFactory moduleFactory,
JiraWebInterfaceManager webInterfaceManager,
ConditionDescriptorFactoryImpl conditionDescriptorFactory) |
Modifier and Type | Method and Description |
---|---|
void |
enabled() |
com.atlassian.plugin.web.Condition |
getCondition() |
int |
getOrder() |
Map<String,Object> |
getTopNavigationContext(javax.servlet.http.HttpServletRequest request,
Map<String,Object> startingParams)
getthe velocity context associated with this <top-navigation> module.
|
String |
getTopNavigationHtml(javax.servlet.http.HttpServletRequest request,
Map<String,Object> startingParms)
render the velocity associated with this <top-navigation> module.
|
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
assertResourceExists, createModule, createVelocityParams, disabled, getAuthenticationContext, getClassLoader, getDescription, getHtml, getHtml, getI18nBean, getModule, getName, getText, getText, isResourceExist, writeHtml
assertModuleClassImplements, checkPermissions, destroy, destroy, equals, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, hashCode, isEnabled, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getHtml, getHtml, getI18nBean, writeHtml
destroy, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion
public TopNavigationModuleDescriptorImpl(JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider, PermissionManager permissionManager, WebFragmentWebComponent webFragmentWebComponent, UserProjectHistoryManager userProjectHistoryManager, com.atlassian.plugin.module.ModuleFactory moduleFactory, JiraWebInterfaceManager webInterfaceManager, ConditionDescriptorFactoryImpl conditionDescriptorFactory)
public void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.ModuleDescriptor<PluggableTopNavigation>
init
in class AbstractJiraModuleDescriptor<PluggableTopNavigation>
com.atlassian.plugin.PluginParseException
public int getOrder()
getOrder
in interface OrderableModuleDescriptor
public String getTopNavigationHtml(javax.servlet.http.HttpServletRequest request, Map<String,Object> startingParms)
TopNavigationModuleDescriptor
getTopNavigationHtml
in interface TopNavigationModuleDescriptor
public Map<String,Object> getTopNavigationContext(javax.servlet.http.HttpServletRequest request, Map<String,Object> startingParams)
TopNavigationModuleDescriptor
getTopNavigationContext
in interface TopNavigationModuleDescriptor
public void enabled()
enabled
in interface com.atlassian.plugin.StateAware
enabled
in class AbstractJiraModuleDescriptor<PluggableTopNavigation>
public com.atlassian.plugin.web.Condition getCondition()
getCondition
in interface com.atlassian.plugin.web.descriptors.ConditionalDescriptor
Copyright © 2002-2016 Atlassian. All Rights Reserved.