|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T> com.atlassian.jira.plugin.AbstractJiraModuleDescriptor<PluggableTopNavigation> com.atlassian.jira.plugin.navigation.TopNavigationModuleDescriptorImpl
public class TopNavigationModuleDescriptorImpl
Module descriptor used for plugins that render the top navigation in JIRA.
Field Summary |
---|
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
---|
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources, singleton |
Constructor Summary | |
---|---|
TopNavigationModuleDescriptorImpl(JiraAuthenticationContext authenticationContext,
ApplicationProperties applicationProperties,
com.atlassian.plugin.webresource.WebResourceManager webResourceManager,
PermissionManager permissionManager,
WebFragmentWebComponent webFragmentWebComponent,
UserProjectHistoryManager userProjectHistoryManager,
com.atlassian.plugin.module.ModuleFactory moduleFactory,
JiraWebInterfaceManager webInterfaceManager,
ConditionDescriptorFactoryImpl conditionDescriptorFactory)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class com.atlassian.jira.plugin.AbstractJiraModuleDescriptor |
---|
assertResourceExists, createModule, 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, getResourceDescriptors, getResourceLocation, hashCode, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString |
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, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion |
Methods inherited from interface com.atlassian.plugin.Resourced |
---|
getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation |
Constructor Detail |
---|
public TopNavigationModuleDescriptorImpl(JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, com.atlassian.plugin.webresource.WebResourceManager webResourceManager, PermissionManager permissionManager, WebFragmentWebComponent webFragmentWebComponent, UserProjectHistoryManager userProjectHistoryManager, com.atlassian.plugin.module.ModuleFactory moduleFactory, JiraWebInterfaceManager webInterfaceManager, ConditionDescriptorFactoryImpl conditionDescriptorFactory)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |