com.atlassian.jira.plugin.webfragment.descriptors
Interface SimpleLinkFactoryModuleDescriptor

All Superinterfaces:
com.atlassian.plugin.ModuleDescriptor<SimpleLinkFactory>, com.atlassian.plugin.Resourced, com.atlassian.plugin.web.descriptors.WeightedDescriptor
All Known Implementing Classes:
DefaultSimpleLinkFactoryModuleDescriptor

public interface SimpleLinkFactoryModuleDescriptor
extends com.atlassian.plugin.ModuleDescriptor<SimpleLinkFactory>, com.atlassian.plugin.web.descriptors.WeightedDescriptor

Plugin in Module descriptor that defines a SimpleLinkFactory. This is used by the SimpleLinkManager to display a list of simple links.

Since:
v4.0

Method Summary
 java.lang.String getSection()
          The section that this list will be inserted into.
 boolean shouldBeLazy()
          Whether or not this should be lazily loaded.
 
Methods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, init, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion
 
Methods inherited from interface com.atlassian.plugin.Resourced
getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation
 
Methods inherited from interface com.atlassian.plugin.web.descriptors.WeightedDescriptor
getWeight
 

Method Detail

shouldBeLazy

boolean shouldBeLazy()
Whether or not this should be lazily loaded. This is should be true if the list is expensive. Note that this can be ignored if the list does not support lazily loaded links.

Returns:
true if the list is expensive to generate and should be loaded lazily if possible, false otherwise.

getSection

java.lang.String getSection()
The section that this list will be inserted into. This usually refers to a WebSectionModuleDescriptor location + "/" + key. This should never return null.

Returns:
The section that this list will be inserted into.


Copyright © 2002-2010 Atlassian. All Rights Reserved.