com.atlassian.confluence.plugin.dev
Class WebResourceModuleDescriptorDelegate
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
com.atlassian.plugin.webresource.WebResourceModuleDescriptor
com.atlassian.confluence.plugin.dev.WebResourceModuleDescriptorDelegate
- All Implemented Interfaces:
- com.atlassian.plugin.ModuleDescriptor<java.lang.Void>, com.atlassian.plugin.Resourced, com.atlassian.plugin.StateAware
public abstract class WebResourceModuleDescriptorDelegate
- extends com.atlassian.plugin.webresource.WebResourceModuleDescriptor
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources, singleton |
Methods inherited from class com.atlassian.plugin.webresource.WebResourceModuleDescriptor |
getTransformations |
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
assertModuleClassImplements, checkPermissions, getModuleClassName, getRequiredPermissions, isSingletonByDefault, loadClass, loadClass, provideValidationRules |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
WebResourceModuleDescriptorDelegate
public WebResourceModuleDescriptorDelegate(com.atlassian.plugin.webresource.WebResourceModuleDescriptor delegate)
init
public void init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element)
throws com.atlassian.plugin.PluginParseException
- Specified by:
init
in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Void>
- Overrides:
init
in class com.atlassian.plugin.webresource.WebResourceModuleDescriptor
- Throws:
com.atlassian.plugin.PluginParseException
getModule
public java.lang.Void getModule()
- Specified by:
getModule
in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Void>
- Overrides:
getModule
in class com.atlassian.plugin.webresource.WebResourceModuleDescriptor
enabled
public void enabled()
- Specified by:
enabled
in interface com.atlassian.plugin.StateAware
- Overrides:
enabled
in class com.atlassian.plugin.webresource.WebResourceModuleDescriptor
disabled
public void disabled()
- Specified by:
disabled
in interface com.atlassian.plugin.StateAware
- Overrides:
disabled
in class com.atlassian.plugin.webresource.WebResourceModuleDescriptor
getContexts
public java.util.Set<java.lang.String> getContexts()
- Overrides:
getContexts
in class com.atlassian.plugin.webresource.WebResourceModuleDescriptor
getDependencies
public java.util.List<java.lang.String> getDependencies()
- Overrides:
getDependencies
in class com.atlassian.plugin.webresource.WebResourceModuleDescriptor
isDisableMinification
public boolean isDisableMinification()
- Overrides:
isDisableMinification
in class com.atlassian.plugin.webresource.WebResourceModuleDescriptor
addToUrl
public void addToUrl(com.atlassian.plugin.PluginAccessor pluginAccessor,
com.atlassian.plugin.webresource.url.UrlBuilder urlBuilder)
- Overrides:
addToUrl
in class com.atlassian.plugin.webresource.WebResourceModuleDescriptor
canEncodeStateIntoUrl
public boolean canEncodeStateIntoUrl()
- Overrides:
canEncodeStateIntoUrl
in class com.atlassian.plugin.webresource.WebResourceModuleDescriptor
shouldDisplay
public boolean shouldDisplay(com.atlassian.plugin.webresource.QueryParams params)
- Overrides:
shouldDisplay
in class com.atlassian.plugin.webresource.WebResourceModuleDescriptor
shouldDisplayImmediate
public boolean shouldDisplayImmediate()
- Overrides:
shouldDisplayImmediate
in class com.atlassian.plugin.webresource.WebResourceModuleDescriptor
getDataProviders
public java.util.Map<java.lang.String,com.atlassian.webresource.api.data.WebResourceDataProvider> getDataProviders()
- Overrides:
getDataProviders
in class com.atlassian.plugin.webresource.WebResourceModuleDescriptor
destroy
public void destroy()
- Specified by:
destroy
in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Void>
- Overrides:
destroy
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
destroy
@Deprecated
public void destroy(com.atlassian.plugin.Plugin plugin)
- Deprecated.
- Specified by:
destroy
in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Void>
- Overrides:
destroy
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
isEnabledByDefault
public boolean isEnabledByDefault()
- Specified by:
isEnabledByDefault
in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Void>
- Overrides:
isEnabledByDefault
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
isSystemModule
public boolean isSystemModule()
- Specified by:
isSystemModule
in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Void>
- Overrides:
isSystemModule
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
isSingleton
@Deprecated
public boolean isSingleton()
- Deprecated.
- Overrides:
isSingleton
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
getCompleteKey
public java.lang.String getCompleteKey()
- Specified by:
getCompleteKey
in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Void>
- Overrides:
getCompleteKey
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
getPluginKey
public java.lang.String getPluginKey()
- Specified by:
getPluginKey
in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Void>
- Overrides:
getPluginKey
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
getKey
public java.lang.String getKey()
- Specified by:
getKey
in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Void>
- Overrides:
getKey
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
getName
public java.lang.String getName()
- Specified by:
getName
in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Void>
- Overrides:
getName
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
getModuleClass
public java.lang.Class<java.lang.Void> getModuleClass()
- Specified by:
getModuleClass
in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Void>
- Overrides:
getModuleClass
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Void>
- Overrides:
getDescription
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
getParams
public java.util.Map<java.lang.String,java.lang.String> getParams()
- Specified by:
getParams
in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Void>
- Overrides:
getParams
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
getI18nNameKey
public java.lang.String getI18nNameKey()
- Specified by:
getI18nNameKey
in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Void>
- Overrides:
getI18nNameKey
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
getDescriptionKey
public java.lang.String getDescriptionKey()
- Specified by:
getDescriptionKey
in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Void>
- Overrides:
getDescriptionKey
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
getResourceDescriptors
public java.util.List<com.atlassian.plugin.elements.ResourceDescriptor> getResourceDescriptors()
- Specified by:
getResourceDescriptors
in interface com.atlassian.plugin.Resourced
- Overrides:
getResourceDescriptors
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
getResourceDescriptors
public java.util.List<com.atlassian.plugin.elements.ResourceDescriptor> getResourceDescriptors(java.lang.String type)
- Specified by:
getResourceDescriptors
in interface com.atlassian.plugin.Resourced
- Overrides:
getResourceDescriptors
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
getResourceLocation
public com.atlassian.plugin.elements.ResourceLocation getResourceLocation(java.lang.String type,
java.lang.String name)
- Specified by:
getResourceLocation
in interface com.atlassian.plugin.Resourced
- Overrides:
getResourceLocation
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
getResourceDescriptor
public com.atlassian.plugin.elements.ResourceDescriptor getResourceDescriptor(java.lang.String type,
java.lang.String name)
- Specified by:
getResourceDescriptor
in interface com.atlassian.plugin.Resourced
- Overrides:
getResourceDescriptor
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
getMinJavaVersion
public java.lang.Float getMinJavaVersion()
- Specified by:
getMinJavaVersion
in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Void>
- Overrides:
getMinJavaVersion
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
satisfiesMinJavaVersion
public boolean satisfiesMinJavaVersion()
- Specified by:
satisfiesMinJavaVersion
in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Void>
- Overrides:
satisfiesMinJavaVersion
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
setPlugin
public void setPlugin(com.atlassian.plugin.Plugin plugin)
- Overrides:
setPlugin
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
getPlugin
public com.atlassian.plugin.Plugin getPlugin()
- Specified by:
getPlugin
in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Void>
- Overrides:
getPlugin
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Void>
- Overrides:
equals
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
hashCode
public int hashCode()
- Specified by:
hashCode
in interface com.atlassian.plugin.ModuleDescriptor<java.lang.Void>
- Overrides:
hashCode
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
toString
public java.lang.String toString()
- Overrides:
toString
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<java.lang.Void>
Copyright © 2003-2013 Atlassian. All Rights Reserved.