Class ReadOnlyWebFragmentModuleDescriptor<T>

  • All Implemented Interfaces:
    com.atlassian.plugin.ModuleDescriptor<T>, com.atlassian.plugin.Resourced, com.atlassian.plugin.ScopeAware, com.atlassian.plugin.StateAware, com.atlassian.plugin.web.descriptors.ConditionalDescriptor, com.atlassian.plugin.web.descriptors.ContextAware, com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor<T>, com.atlassian.plugin.web.descriptors.WeightedDescriptor
    Direct Known Subclasses:
    ReadOnlyWebItemModuleDescriptor, ReadOnlyWebPanelModuleDescriptor, ReadOnlyWebSectionModuleDescriptor

    public class ReadOnlyWebFragmentModuleDescriptor<T>
    extends Object
    implements com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor<T>
    • Constructor Detail

      • ReadOnlyWebFragmentModuleDescriptor

        public ReadOnlyWebFragmentModuleDescriptor​(com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor<T> delegate)
    • Method Detail

      • getWeight

        public int getWeight()
        Specified by:
        getWeight in interface com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor<T>
        Specified by:
        getWeight in interface com.atlassian.plugin.web.descriptors.WeightedDescriptor
      • getWebLabel

        public com.atlassian.plugin.web.model.WebLabel getWebLabel()
        Specified by:
        getWebLabel in interface com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor<T>
      • getLabel

        public com.atlassian.plugin.web.model.WebLabel getLabel()
      • getTooltip

        public com.atlassian.plugin.web.model.WebLabel getTooltip()
        Specified by:
        getTooltip in interface com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor<T>
      • getCondition

        public com.atlassian.plugin.web.Condition getCondition()
        Specified by:
        getCondition in interface com.atlassian.plugin.web.descriptors.ConditionalDescriptor
        Specified by:
        getCondition in interface com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor<T>
      • getWebParams

        public com.atlassian.plugin.web.model.WebParam getWebParams()
        Specified by:
        getWebParams in interface com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor<T>
      • getCompleteKey

        public String getCompleteKey()
        Specified by:
        getCompleteKey in interface com.atlassian.plugin.ModuleDescriptor<T>
      • getPluginKey

        public String getPluginKey()
        Specified by:
        getPluginKey in interface com.atlassian.plugin.ModuleDescriptor<T>
      • getKey

        public String getKey()
        Specified by:
        getKey in interface com.atlassian.plugin.ModuleDescriptor<T>
      • getName

        public String getName()
        Specified by:
        getName in interface com.atlassian.plugin.ModuleDescriptor<T>
      • getDescription

        public String getDescription()
        Specified by:
        getDescription in interface com.atlassian.plugin.ModuleDescriptor<T>
      • getModuleClass

        public Class<T> getModuleClass()
        Specified by:
        getModuleClass in interface com.atlassian.plugin.ModuleDescriptor<T>
      • getModule

        public T getModule()
        Specified by:
        getModule in interface com.atlassian.plugin.ModuleDescriptor<T>
      • init

        public void init​(@Nonnull
                         com.atlassian.plugin.Plugin plugin,
                         @Nonnull
                         org.dom4j.Element element)
        Specified by:
        init in interface com.atlassian.plugin.ModuleDescriptor<T>
      • isEnabledByDefault

        public boolean isEnabledByDefault()
        Specified by:
        isEnabledByDefault in interface com.atlassian.plugin.ModuleDescriptor<T>
      • isSystemModule

        public boolean isSystemModule()
        Specified by:
        isSystemModule in interface com.atlassian.plugin.ModuleDescriptor<T>
      • destroy

        public void destroy()
        Specified by:
        destroy in interface com.atlassian.plugin.ModuleDescriptor<T>
      • getMinJavaVersion

        public Float getMinJavaVersion()
        Specified by:
        getMinJavaVersion in interface com.atlassian.plugin.ModuleDescriptor<T>
      • satisfiesMinJavaVersion

        public boolean satisfiesMinJavaVersion()
        Specified by:
        satisfiesMinJavaVersion in interface com.atlassian.plugin.ModuleDescriptor<T>
      • getParams

        public Map<String,​String> getParams()
        Specified by:
        getParams in interface com.atlassian.plugin.ModuleDescriptor<T>
      • getI18nNameKey

        public String getI18nNameKey()
        Specified by:
        getI18nNameKey in interface com.atlassian.plugin.ModuleDescriptor<T>
      • getDescriptionKey

        public String getDescriptionKey()
        Specified by:
        getDescriptionKey in interface com.atlassian.plugin.ModuleDescriptor<T>
      • getPlugin

        public com.atlassian.plugin.Plugin getPlugin()
        Specified by:
        getPlugin in interface com.atlassian.plugin.ModuleDescriptor<T>
      • isEnabled

        public boolean isEnabled()
        Specified by:
        isEnabled in interface com.atlassian.plugin.ModuleDescriptor<T>
      • setBroken

        public void setBroken()
        Specified by:
        setBroken in interface com.atlassian.plugin.ModuleDescriptor<T>
      • isBroken

        public boolean isBroken()
        Specified by:
        isBroken in interface com.atlassian.plugin.ModuleDescriptor<T>
      • getDisplayName

        public String getDisplayName()
        Specified by:
        getDisplayName in interface com.atlassian.plugin.ModuleDescriptor<T>
      • getResourceDescriptors

        public List<com.atlassian.plugin.elements.ResourceDescriptor> getResourceDescriptors()
        Specified by:
        getResourceDescriptors in interface com.atlassian.plugin.Resourced
      • getResourceDescriptor

        public com.atlassian.plugin.elements.ResourceDescriptor getResourceDescriptor​(String s,
                                                                                      String s1)
        Specified by:
        getResourceDescriptor in interface com.atlassian.plugin.Resourced
      • getResourceLocation

        public com.atlassian.plugin.elements.ResourceLocation getResourceLocation​(String s,
                                                                                  String s1)
        Specified by:
        getResourceLocation in interface com.atlassian.plugin.Resourced
      • enabled

        public void enabled()
        Specified by:
        enabled in interface com.atlassian.plugin.StateAware
      • disabled

        public void disabled()
        Specified by:
        disabled in interface com.atlassian.plugin.StateAware
      • getContextProvider

        public com.atlassian.plugin.web.ContextProvider getContextProvider()
        Specified by:
        getContextProvider in interface com.atlassian.plugin.web.descriptors.ContextAware
      • getScopeKey

        public Optional<String> getScopeKey()
        Specified by:
        getScopeKey in interface com.atlassian.plugin.ScopeAware