|
||||||||||
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<SimpleLinkFactory> com.atlassian.jira.plugin.webfragment.descriptors.DefaultSimpleLinkFactoryModuleDescriptor
public class DefaultSimpleLinkFactoryModuleDescriptor
Plugin in Module descriptor that defines a 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.
Field Summary |
---|
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
---|
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources, singleton |
Constructor Summary | |
---|---|
DefaultSimpleLinkFactoryModuleDescriptor(JiraAuthenticationContext authenticationContext,
com.atlassian.plugin.module.ModuleFactory moduleFactory)
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.atlassian.jira.plugin.AbstractJiraModuleDescriptor |
---|
assertResourceExists, createModule, createVelocityParams, disabled, enabled, getAuthenticationContext, getClassLoader, getDescription, getHtml, getHtml, getI18nBean, getModule, getName, getText, getText, isResourceExist, writeHtml |
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
---|
assertModuleClassImplements, checkPermissions, destroy, 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.plugin.ModuleDescriptor |
---|
destroy, 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 DefaultSimpleLinkFactoryModuleDescriptor(JiraAuthenticationContext authenticationContext, com.atlassian.plugin.module.ModuleFactory moduleFactory)
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<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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |