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.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 Summary
Constructors Constructor Description ReadOnlyWebFragmentModuleDescriptor(com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor<T> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
void
disabled()
void
enabled()
String
getCompleteKey()
com.atlassian.plugin.web.Condition
getCondition()
com.atlassian.plugin.web.ContextProvider
getContextProvider()
String
getDescription()
String
getDescriptionKey()
String
getDisplayName()
String
getI18nNameKey()
String
getKey()
com.atlassian.plugin.web.model.WebLabel
getLabel()
Float
getMinJavaVersion()
T
getModule()
Class<T>
getModuleClass()
String
getName()
Map<String,String>
getParams()
com.atlassian.plugin.Plugin
getPlugin()
String
getPluginKey()
com.atlassian.plugin.elements.ResourceDescriptor
getResourceDescriptor(String s, String s1)
List<com.atlassian.plugin.elements.ResourceDescriptor>
getResourceDescriptors()
com.atlassian.plugin.elements.ResourceLocation
getResourceLocation(String s, String s1)
Optional<String>
getScopeKey()
com.atlassian.plugin.web.model.WebLabel
getTooltip()
com.atlassian.plugin.web.model.WebLabel
getWebLabel()
com.atlassian.plugin.web.model.WebParam
getWebParams()
int
getWeight()
void
init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element)
boolean
isBroken()
boolean
isEnabled()
boolean
isEnabledByDefault()
boolean
isSystemModule()
boolean
satisfiesMinJavaVersion()
void
setBroken()
-
-
-
Constructor Detail
-
ReadOnlyWebFragmentModuleDescriptor
public ReadOnlyWebFragmentModuleDescriptor(com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor<T> delegate)
-
-
Method Detail
-
getWeight
public int getWeight()
- Specified by:
getWeight
in interfacecom.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor<T>
- Specified by:
getWeight
in interfacecom.atlassian.plugin.web.descriptors.WeightedDescriptor
-
getWebLabel
public com.atlassian.plugin.web.model.WebLabel getWebLabel()
- Specified by:
getWebLabel
in interfacecom.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 interfacecom.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor<T>
-
getCondition
public com.atlassian.plugin.web.Condition getCondition()
- Specified by:
getCondition
in interfacecom.atlassian.plugin.web.descriptors.ConditionalDescriptor
- Specified by:
getCondition
in interfacecom.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor<T>
-
getWebParams
public com.atlassian.plugin.web.model.WebParam getWebParams()
- Specified by:
getWebParams
in interfacecom.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor<T>
-
getCompleteKey
public String getCompleteKey()
- Specified by:
getCompleteKey
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
getPluginKey
public String getPluginKey()
- Specified by:
getPluginKey
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
getKey
public String getKey()
- Specified by:
getKey
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
getName
public String getName()
- Specified by:
getName
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
getModuleClass
public Class<T> getModuleClass()
- Specified by:
getModuleClass
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
getModule
public T getModule()
- Specified by:
getModule
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
init
public void init(@Nonnull com.atlassian.plugin.Plugin plugin, @Nonnull org.dom4j.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
public Float getMinJavaVersion()
- Specified by:
getMinJavaVersion
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
satisfiesMinJavaVersion
public boolean satisfiesMinJavaVersion()
- Specified by:
satisfiesMinJavaVersion
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
getParams
public Map<String,String> getParams()
- Specified by:
getParams
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
getI18nNameKey
public String getI18nNameKey()
- Specified by:
getI18nNameKey
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
getDescriptionKey
public String 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
public String getDisplayName()
- Specified by:
getDisplayName
in interfacecom.atlassian.plugin.ModuleDescriptor<T>
-
getResourceDescriptors
public List<com.atlassian.plugin.elements.ResourceDescriptor> getResourceDescriptors()
- Specified by:
getResourceDescriptors
in interfacecom.atlassian.plugin.Resourced
-
getResourceDescriptor
public com.atlassian.plugin.elements.ResourceDescriptor getResourceDescriptor(String s, String s1)
- Specified by:
getResourceDescriptor
in interfacecom.atlassian.plugin.Resourced
-
getResourceLocation
public com.atlassian.plugin.elements.ResourceLocation getResourceLocation(String s, String s1)
- 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.descriptors.ContextAware
-
-