public class FooterModuleDescriptorImpl extends AbstractJiraModuleDescriptor<PluggableFooter> implements FooterModuleDescriptor
Modifier and Type | Field and Description |
---|---|
static String |
LICENSE_MESSAGE_ERROR |
static String |
LICENSE_MESSAGE_INFO |
Constructor and Description |
---|
FooterModuleDescriptorImpl(JiraAuthenticationContext authenticationContext,
JiraLicenseService jiraLicenseService,
BuildUtilsInfo buildUtilsInfo,
com.atlassian.plugin.module.ModuleFactory moduleFactory,
GlobalPermissionManager permissionManager,
ApplicationProperties applicationProperties,
ClusterManager clusterManager,
JiraLicenseManager licenseManager,
ApplicationRoleManager applicationRoleManager) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,?> |
createVelocityParams(javax.servlet.http.HttpServletRequest request,
Map<String,?> startingParams) |
void |
enabled() |
String |
getFooterHtml(javax.servlet.http.HttpServletRequest request,
Map<String,?> startingParams)
This method will setup the params related to the license information and render the html for the footer.
|
int |
getOrder() |
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 static final String LICENSE_MESSAGE_INFO
public static final String LICENSE_MESSAGE_ERROR
public FooterModuleDescriptorImpl(JiraAuthenticationContext authenticationContext, JiraLicenseService jiraLicenseService, BuildUtilsInfo buildUtilsInfo, com.atlassian.plugin.module.ModuleFactory moduleFactory, GlobalPermissionManager permissionManager, ApplicationProperties applicationProperties, ClusterManager clusterManager, JiraLicenseManager licenseManager, ApplicationRoleManager applicationRoleManager)
public void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.ModuleDescriptor<PluggableFooter>
init
in class AbstractJiraModuleDescriptor<PluggableFooter>
com.atlassian.plugin.PluginParseException
public void enabled()
enabled
in interface com.atlassian.plugin.StateAware
enabled
in class AbstractJiraModuleDescriptor<PluggableFooter>
public int getOrder()
getOrder
in interface OrderableModuleDescriptor
public String getFooterHtml(javax.servlet.http.HttpServletRequest request, Map<String,?> startingParams)
getFooterHtml
in interface FooterModuleDescriptor
request
- the servlet requeststartingParams
- any parameters that you want to have available in the context when rendering the footer.Copyright © 2002-2015 Atlassian. All Rights Reserved.