public class DefaultSimpleLinkFactoryModuleDescriptor extends AbstractJiraModuleDescriptor<SimpleLinkFactory> implements SimpleLinkFactoryModuleDescriptor
SimpleLinkFactory. This is
used by the SimpleLinkManager to display a list of simple links. The
special attributes for this are: lazy - whether the section should be loaded lazily, weight - the position to include
the generated list, and section - the section that the generated links go into.| Constructor and Description |
|---|
DefaultSimpleLinkFactoryModuleDescriptor(JiraAuthenticationContext authenticationContext,
com.atlassian.plugin.module.ModuleFactory moduleFactory) |
| Modifier and Type | Method and Description |
|---|---|
String |
getSection()
The section that this list will be inserted into.
|
int |
getWeight() |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
boolean |
shouldBeLazy()
Whether or not this should be lazily loaded.
|
assertResourceExists, createModule, createVelocityParams, disabled, enabled, getAuthenticationContext, getClassLoader, getDescription, getHtml, getHtml, getI18nBean, getModule, getName, getText, getText, isResourceExist, writeHtmlassertModuleClassImplements, checkPermissions, destroy, equals, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitdestroy, equals, getCompleteKey, getDescription, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBrokenpublic DefaultSimpleLinkFactoryModuleDescriptor(JiraAuthenticationContext authenticationContext, com.atlassian.plugin.module.ModuleFactory moduleFactory)
public void init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element)
throws com.atlassian.plugin.PluginParseException
init in interface com.atlassian.plugin.ModuleDescriptor<SimpleLinkFactory>init in class AbstractJiraModuleDescriptor<SimpleLinkFactory>com.atlassian.plugin.PluginParseExceptionpublic boolean shouldBeLazy()
SimpleLinkFactoryModuleDescriptorshouldBeLazy in interface SimpleLinkFactoryModuleDescriptorpublic int getWeight()
getWeight in interface com.atlassian.plugin.web.descriptors.WeightedDescriptorpublic String getSection()
SimpleLinkFactoryModuleDescriptorWebSectionModuleDescriptor location + "/" + key.
This should never return null.
getSection in interface SimpleLinkFactoryModuleDescriptorCopyright © 2002-2022 Atlassian. All Rights Reserved.