Class ReadOnlyWebFragmentModuleDescriptor<T>
java.lang.Object
com.atlassian.confluence.impl.plugin.web.readonly.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.api.descriptors.ConditionalDescriptor
,com.atlassian.plugin.web.api.descriptors.ContextAware
,com.atlassian.plugin.web.api.descriptors.WebFragmentModuleDescriptor<T>
,com.atlassian.plugin.web.api.descriptors.WeightedDescriptor
- Direct Known Subclasses:
ReadOnlyWebItemModuleDescriptor
,ReadOnlyWebPanelModuleDescriptor
,ReadOnlyWebSectionModuleDescriptor
public class ReadOnlyWebFragmentModuleDescriptor<T>
extends Object
implements com.atlassian.plugin.web.api.descriptors.WebFragmentModuleDescriptor<T>
-
Constructor Summary
ConstructorsConstructorDescriptionReadOnlyWebFragmentModuleDescriptor
(com.atlassian.plugin.web.api.descriptors.WebFragmentModuleDescriptor<? extends T> delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
void
disabled()
void
enabled()
com.atlassian.plugin.web.Condition
com.atlassian.plugin.web.ContextProvider
getKey()
com.atlassian.plugin.web.model.WebLabel
getLabel()
getName()
com.atlassian.plugin.Plugin
com.atlassian.plugin.elements.ResourceDescriptor
getResourceDescriptor
(String s, String s1) List<com.atlassian.plugin.elements.ResourceDescriptor>
com.atlassian.plugin.elements.ResourceLocation
getResourceLocation
(String s, String s1) com.atlassian.plugin.web.model.WebLabel
com.atlassian.plugin.web.model.WebLabel
int
void
init
(@NonNull com.atlassian.plugin.Plugin plugin, @NonNull com.atlassian.plugin.module.Element element) boolean
isBroken()
boolean
boolean
boolean
boolean
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.plugin.ModuleDescriptor
equals, hashCode
-
Constructor Details
-
ReadOnlyWebFragmentModuleDescriptor
public ReadOnlyWebFragmentModuleDescriptor(com.atlassian.plugin.web.api.descriptors.WebFragmentModuleDescriptor<? extends T> delegate)
-
-
Method Details
-
getWeight
public int getWeight()- Specified by:
getWeight
in interfacecom.atlassian.plugin.web.api.descriptors.WebFragmentModuleDescriptor<T>
- Specified by:
getWeight
in interfacecom.atlassian.plugin.web.api.descriptors.WeightedDescriptor
-
getWebLabel
public com.atlassian.plugin.web.model.WebLabel getWebLabel() -
getLabel
public com.atlassian.plugin.web.model.WebLabel getLabel() -
getTooltip
public com.atlassian.plugin.web.model.WebLabel getTooltip() -
getCondition
public com.atlassian.plugin.web.Condition getCondition()- Specified by:
getCondition
in interfacecom.atlassian.plugin.web.api.descriptors.ConditionalDescriptor
- Specified by:
getCondition
in interfacecom.atlassian.plugin.web.api.descriptors.WebFragmentModuleDescriptor<T>
-
getCompleteKey
- Specified by:
getCompleteKey
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
getPluginKey
- Specified by:
getPluginKey
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
getKey
- Specified by:
getKey
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
getName
- Specified by:
getName
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
getDescription
- Specified by:
getDescription
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
getModuleClass
- Specified by:
getModuleClass
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
getModule
- Specified by:
getModule
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
init
public void init(@NonNull com.atlassian.plugin.Plugin plugin, @NonNull com.atlassian.plugin.module.Element element) - Specified by:
init
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
isEnabledByDefault
public boolean isEnabledByDefault()- Specified by:
isEnabledByDefault
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
isSystemModule
public boolean isSystemModule()- Specified by:
isSystemModule
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
destroy
public void destroy()- Specified by:
destroy
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
getMinJavaVersion
- Specified by:
getMinJavaVersion
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
satisfiesMinJavaVersion
public boolean satisfiesMinJavaVersion()- Specified by:
satisfiesMinJavaVersion
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
getParams
- Specified by:
getParams
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
getI18nNameKey
- Specified by:
getI18nNameKey
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
getDescriptionKey
- Specified by:
getDescriptionKey
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
getPlugin
public com.atlassian.plugin.Plugin getPlugin()- Specified by:
getPlugin
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
setBroken
public void setBroken()- Specified by:
setBroken
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
isBroken
public boolean isBroken()- Specified by:
isBroken
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
getDisplayName
- Specified by:
getDisplayName
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
getResourceDescriptors
- Specified by:
getResourceDescriptors
in interfacecom.atlassian.plugin.Resourced
-
getResourceDescriptor
- Specified by:
getResourceDescriptor
in interfacecom.atlassian.plugin.Resourced
-
getResourceLocation
- Specified by:
getResourceLocation
in interfacecom.atlassian.plugin.Resourced
-
enabled
public void enabled()- Specified by:
enabled
in interfacecom.atlassian.plugin.StateAware
-
disabled
public void disabled()- Specified by:
disabled
in interfacecom.atlassian.plugin.StateAware
-
getContextProvider
public com.atlassian.plugin.web.ContextProvider getContextProvider()- Specified by:
getContextProvider
in interfacecom.atlassian.plugin.web.api.descriptors.ContextAware
-
getScopeKey
- Specified by:
getScopeKey
in interfacecom.atlassian.plugin.ScopeAware
-