com.atlassian.plugin.web.descriptors
Class DefaultAbstractWebFragmentModuleDescriptor<T>
java.lang.Object
   com.atlassian.plugin.web.descriptors.DefaultAbstractWebFragmentModuleDescriptor<T>
com.atlassian.plugin.web.descriptors.DefaultAbstractWebFragmentModuleDescriptor<T>
- All Implemented Interfaces: 
- ModuleDescriptor<T>, Resourced, StateAware, ConditionalDescriptor, ContextAware, WebFragmentModuleDescriptor<T>, WeightedDescriptor
- public class DefaultAbstractWebFragmentModuleDescriptor<T> 
- extends Object- implements StateAware, WebFragmentModuleDescriptor<T>
Wrapper for WebFragmentModuleDescriptor, so that it could be extended
 by application specific wrappers to provide additional methods.
 
 
 
 
 
 
DefaultAbstractWebFragmentModuleDescriptor
public DefaultAbstractWebFragmentModuleDescriptor(WebFragmentModuleDescriptor<T> abstractDescriptor)
enabled
public void enabled()
- 
- Specified by:
- enabledin interface- StateAware
 
- 
 
disabled
public void disabled()
- 
- Specified by:
- disabledin interface- StateAware
 
- 
 
getDecoratedDescriptor
protected WebFragmentModuleDescriptor getDecoratedDescriptor()
- 
 
- 
 
getWeight
public int getWeight()
- 
- Specified by:
- getWeightin interface- WebFragmentModuleDescriptor<T>
- Specified by:
- getWeightin interface- WeightedDescriptor
 
- 
 
getKey
public String getKey()
- 
- Specified by:
- getKeyin interface- ModuleDescriptor<T>
 
- 
 
getModule
public T getModule()
- 
- Specified by:
- getModulein interface- ModuleDescriptor<T>
 
- 
 
getI18nNameKey
public String getI18nNameKey()
- 
- Specified by:
- getI18nNameKeyin interface- ModuleDescriptor<T>
 
- 
 
getDescriptionKey
public String getDescriptionKey()
- 
- Specified by:
- getDescriptionKeyin interface- ModuleDescriptor<T>
 
- 
 
getPlugin
public Plugin getPlugin()
- 
- Specified by:
- getPluginin interface- ModuleDescriptor<T>
 
- 
 
getWebLabel
public WebLabel getWebLabel()
- 
- Specified by:
- getWebLabelin interface- WebFragmentModuleDescriptor<T>
 
- 
 
getTooltip
public WebLabel getTooltip()
- 
- Specified by:
- getTooltipin interface- WebFragmentModuleDescriptor<T>
 
- 
 
setWebInterfaceManager
public void setWebInterfaceManager(WebInterfaceManager webInterfaceManager)
- 
 
- 
 
getCondition
public Condition getCondition()
- 
- Specified by:
- getConditionin interface- ConditionalDescriptor
- Specified by:
- getConditionin interface- WebFragmentModuleDescriptor<T>
 
- 
 
getContextProvider
public ContextProvider getContextProvider()
- Description copied from interface: ContextAware
- Returns the ContextProvider that augments the context used to render a
 web module.
 
- 
- Specified by:
- getContextProviderin interface- ContextAware
 
- 
 
getWebParams
public WebParam getWebParams()
- 
- Specified by:
- getWebParamsin interface- WebFragmentModuleDescriptor<T>
 
- 
 
getCompleteKey
public String getCompleteKey()
- 
- Specified by:
- getCompleteKeyin interface- ModuleDescriptor<T>
 
- 
 
getPluginKey
public String getPluginKey()
- 
- Specified by:
- getPluginKeyin interface- ModuleDescriptor<T>
 
- 
 
getName
public String getName()
- 
- Specified by:
- getNamein interface- ModuleDescriptor<T>
 
- 
 
getDescription
public String getDescription()
- 
- Specified by:
- getDescriptionin interface- ModuleDescriptor<T>
 
- 
 
getModuleClass
public Class<T> getModuleClass()
- 
- Specified by:
- getModuleClassin interface- ModuleDescriptor<T>
 
- 
 
init
public void init(Plugin plugin,
                 org.dom4j.Element element)
          throws PluginParseException
- 
- Specified by:
- initin interface- ModuleDescriptor<T>
 
- 
- Throws:
- PluginParseException
 
isEnabledByDefault
public boolean isEnabledByDefault()
- 
- Specified by:
- isEnabledByDefaultin interface- ModuleDescriptor<T>
 
- 
 
isSystemModule
public boolean isSystemModule()
- 
- Specified by:
- isSystemModulein interface- ModuleDescriptor<T>
 
- 
 
destroy
public void destroy(Plugin plugin)
- 
- Specified by:
- destroyin interface- ModuleDescriptor<T>
 
- 
 
getMinJavaVersion
public Float getMinJavaVersion()
- 
- Specified by:
- getMinJavaVersionin interface- ModuleDescriptor<T>
 
- 
 
satisfiesMinJavaVersion
public boolean satisfiesMinJavaVersion()
- 
- Specified by:
- satisfiesMinJavaVersionin interface- ModuleDescriptor<T>
 
- 
 
getParams
public Map<String,String> getParams()
- 
- Specified by:
- getParamsin interface- ModuleDescriptor<T>
 
- 
 
getResourceDescriptors
public List<ResourceDescriptor> getResourceDescriptors()
- 
- Specified by:
- getResourceDescriptorsin interface- Resourced
 
- 
 
getResourceDescriptors
@Deprecated
public List<ResourceDescriptor> getResourceDescriptors(String type)
- Deprecated. since 2.5.0 use getResourceDescriptors()and filter
             as required
 
- 
- Specified by:
- getResourceDescriptorsin interface- Resourced
 
- 
 
getResourceLocation
public ResourceLocation getResourceLocation(String type,
                                            String name)
- 
- Specified by:
- getResourceLocationin interface- Resourced
 
- 
 
getResourceDescriptor
public ResourceDescriptor getResourceDescriptor(String type,
                                                String name)
- 
- Specified by:
- getResourceDescriptorin interface- Resourced
 
- 
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Object
 
- 
 
Copyright © 2011 Atlassian. All Rights Reserved.