Class ConfluenceWebSectionModuleDescriptor
java.lang.Object
com.atlassian.plugin.web.descriptors.DefaultAbstractWebFragmentModuleDescriptor<Void>
com.atlassian.confluence.plugin.descriptor.web.descriptors.ConfluenceAbstractWebFragmentModuleDescriptor
com.atlassian.confluence.plugin.descriptor.web.descriptors.ConfluenceWebSectionModuleDescriptor
- All Implemented Interfaces:
com.atlassian.plugin.ModuleDescriptor<Void>,com.atlassian.plugin.Resourced,com.atlassian.plugin.ScopeAware,com.atlassian.plugin.StateAware,com.atlassian.plugin.web.api.descriptors.ConditionalDescriptor,com.atlassian.plugin.web.api.descriptors.ContextAware,com.atlassian.plugin.web.api.descriptors.WebFragmentModuleDescriptor<Void>,com.atlassian.plugin.web.api.descriptors.WebSectionModuleDescriptor,com.atlassian.plugin.web.api.descriptors.WeightedDescriptor,com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor<Void>,com.atlassian.plugin.web.descriptors.WebSectionModuleDescriptor
public class ConfluenceWebSectionModuleDescriptor
extends ConfluenceAbstractWebFragmentModuleDescriptor
implements com.atlassian.plugin.web.api.descriptors.WebSectionModuleDescriptor, com.atlassian.plugin.web.descriptors.WebSectionModuleDescriptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidinit(@NonNull com.atlassian.plugin.Plugin plugin, @NonNull com.atlassian.plugin.module.Element element) Methods inherited from class com.atlassian.confluence.plugin.descriptor.web.descriptors.ConfluenceAbstractWebFragmentModuleDescriptor
disabled, enabled, equals, getLabel, getTooltip, getWebLabel, hashCodeMethods inherited from class com.atlassian.plugin.web.descriptors.DefaultAbstractWebFragmentModuleDescriptor
destroy, getCompleteKey, getCondition, getContextProvider, getDecoratedDescriptor, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getWeight, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setWebInterfaceManager, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.plugin.web.api.descriptors.ContextAware
getContextProviderMethods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBrokenMethods inherited from interface com.atlassian.plugin.Resourced
getResourceDescriptor, getResourceDescriptors, getResourceLocationMethods inherited from interface com.atlassian.plugin.ScopeAware
getScopeKeyMethods inherited from interface com.atlassian.plugin.StateAware
disabled, enabledMethods inherited from interface com.atlassian.plugin.web.api.descriptors.WebFragmentModuleDescriptor
getCondition, getWeightMethods inherited from interface com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor
getTooltip, getWebLabel
-
Constructor Details
-
ConfluenceWebSectionModuleDescriptor
public ConfluenceWebSectionModuleDescriptor()
-
-
Method Details
-
init
public void init(@NonNull com.atlassian.plugin.Plugin plugin, @NonNull com.atlassian.plugin.module.Element element) throws com.atlassian.plugin.PluginParseException -
getLocation
- Specified by:
getLocationin interfacecom.atlassian.plugin.web.api.descriptors.WebSectionModuleDescriptor
-
hideSingleWebItem
public boolean hideSingleWebItem()- Returns:
- true if second level navigation should be hidden if a section has just one web-item
- Since:
- 7.5
-