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, writeHtml
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, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBroken
public 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.PluginParseException
public boolean shouldBeLazy()
SimpleLinkFactoryModuleDescriptor
shouldBeLazy
in interface SimpleLinkFactoryModuleDescriptor
public int getWeight()
getWeight
in interface com.atlassian.plugin.web.descriptors.WeightedDescriptor
public String getSection()
SimpleLinkFactoryModuleDescriptor
WebSectionModuleDescriptor
location + "/" + key.
This should never return null.
getSection
in interface SimpleLinkFactoryModuleDescriptor
Copyright © 2002-2022 Atlassian. All Rights Reserved.