public abstract class AbstractWebFragmentModuleDescriptor<T> extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T> implements com.atlassian.plugin.StateAware, WebFragmentModuleDescriptor<T>
| Modifier and Type | Field and Description |
|---|---|
protected Condition |
condition |
protected ContextProvider |
contextProvider |
protected org.dom4j.Element |
element |
protected DefaultWebLabel |
label |
protected WebParam |
params |
protected DefaultWebLabel |
tooltip |
protected WebInterfaceManager |
webInterfaceManager |
protected int |
weight |
| Modifier | Constructor and Description |
|---|---|
|
AbstractWebFragmentModuleDescriptor() |
|
AbstractWebFragmentModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleClassFactory,
WebInterfaceManager webInterfaceManager) |
protected |
AbstractWebFragmentModuleDescriptor(WebInterfaceManager webInterfaceManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
disabled() |
void |
enabled() |
boolean |
equals(Object obj) |
Condition |
getCondition() |
ContextProvider |
getContextProvider() |
WebLabel |
getTooltip() |
WebLabel |
getWebLabel() |
WebParam |
getWebParams() |
int |
getWeight() |
int |
hashCode() |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
protected Condition |
makeCondition(org.dom4j.Element element) |
protected Condition |
makeConditions(org.dom4j.Element element,
int type)
Create a condition for when this web fragment should be displayed
|
protected Condition |
makeConditions(List elements,
int type) |
protected ContextProvider |
makeContextProvider(org.dom4j.Element element) |
void |
setWebInterfaceManager(WebInterfaceManager webInterfaceManager) |
assertModuleClassImplements, checkPermissions, destroy, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitdestroy, getCompleteKey, getDescription, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBrokenprotected WebInterfaceManager webInterfaceManager
protected org.dom4j.Element element
protected int weight
protected Condition condition
protected ContextProvider contextProvider
protected DefaultWebLabel label
protected DefaultWebLabel tooltip
protected WebParam params
protected AbstractWebFragmentModuleDescriptor(WebInterfaceManager webInterfaceManager)
public AbstractWebFragmentModuleDescriptor()
public AbstractWebFragmentModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleClassFactory,
WebInterfaceManager webInterfaceManager)
public void init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element)
throws com.atlassian.plugin.PluginParseException
protected Condition makeConditions(org.dom4j.Element element, int type) throws com.atlassian.plugin.PluginParseException
element - Element of web-section or web-itemtype - logical operator typecom.atlassian.plugin.PluginParseExceptionprotected Condition makeConditions(List elements, int type) throws com.atlassian.plugin.PluginParseException
com.atlassian.plugin.PluginParseExceptionprotected Condition makeCondition(org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
com.atlassian.plugin.PluginParseExceptionprotected ContextProvider makeContextProvider(org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
com.atlassian.plugin.PluginParseExceptionpublic void enabled()
enabled in interface com.atlassian.plugin.StateAwareenabled in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>public void disabled()
disabled in interface com.atlassian.plugin.StateAwaredisabled in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>public int getWeight()
getWeight in interface WebFragmentModuleDescriptor<T>getWeight in interface WeightedDescriptorpublic WebLabel getWebLabel()
getWebLabel in interface WebFragmentModuleDescriptor<T>public WebLabel getTooltip()
getTooltip in interface WebFragmentModuleDescriptor<T>public void setWebInterfaceManager(WebInterfaceManager webInterfaceManager)
public Condition getCondition()
getCondition in interface ConditionalDescriptorgetCondition in interface WebFragmentModuleDescriptor<T>public ContextProvider getContextProvider()
getContextProvider in interface ContextAwarepublic WebParam getWebParams()
getWebParams in interface WebFragmentModuleDescriptor<T>public boolean equals(Object obj)
Copyright © 2018 Atlassian. All rights reserved.