|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.plugin.descriptors.AbstractModuleDescriptor<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 |
---|
moduleClass, moduleClassName, moduleFactory, plugin, resources, singleton |
Constructor Summary | |
---|---|
DefaultSimpleLinkFactoryModuleDescriptor()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
SimpleLinkFactory |
getModule()
|
String |
getSection()
The section that this list will be inserted into. |
int |
getWeight()
|
int |
hashCode()
|
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.plugin.descriptors.AbstractModuleDescriptor |
---|
assertModuleClassImplements, destroy, disabled, enabled, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, 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, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion |
Methods inherited from interface com.atlassian.plugin.Resourced |
---|
getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation |
Constructor Detail |
---|
public DefaultSimpleLinkFactoryModuleDescriptor()
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 com.atlassian.plugin.descriptors.AbstractModuleDescriptor<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
public SimpleLinkFactory getModule()
getModule
in interface com.atlassian.plugin.ModuleDescriptor<SimpleLinkFactory>
getModule
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<SimpleLinkFactory>
public boolean equals(Object obj)
equals
in interface com.atlassian.plugin.ModuleDescriptor<SimpleLinkFactory>
equals
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<SimpleLinkFactory>
public int hashCode()
hashCode
in interface com.atlassian.plugin.ModuleDescriptor<SimpleLinkFactory>
hashCode
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<SimpleLinkFactory>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |