Class WebResourceModuleDescriptorDelegate
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>
com.atlassian.plugin.webresource.WebResourceModuleDescriptor
com.atlassian.confluence.plugin.dev.WebResourceModuleDescriptorDelegate
- All Implemented Interfaces:
com.atlassian.plugin.ModuleDescriptor<Void>
,com.atlassian.plugin.Resourced
,com.atlassian.plugin.ScopeAware
,com.atlassian.plugin.StateAware
,com.atlassian.webresource.api.descriptor.WebResourceModuleDescriptor
public abstract class WebResourceModuleDescriptorDelegate
extends com.atlassian.plugin.webresource.WebResourceModuleDescriptor
-
Field Summary
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources
-
Constructor Summary
ConstructorsConstructorDescriptionWebResourceModuleDescriptorDelegate
(com.atlassian.plugin.webresource.WebResourceModuleDescriptor delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
void
disabled()
void
enabled()
boolean
getKey()
getName()
com.atlassian.plugin.Plugin
com.atlassian.plugin.elements.ResourceDescriptor
getResourceDescriptor
(String type, String name) List<com.atlassian.plugin.elements.ResourceDescriptor>
com.atlassian.plugin.elements.ResourceLocation
getResourceLocation
(String type, String name) int
hashCode()
void
init
(@NonNull com.atlassian.plugin.Plugin plugin, @NonNull com.atlassian.plugin.module.Element element) boolean
boolean
boolean
boolean
void
setPlugin
(com.atlassian.plugin.Plugin plugin) toString()
Methods inherited from class com.atlassian.plugin.webresource.WebResourceModuleDescriptor
getCondition, getContextDependencies, getDeprecation, getTransformations, isDeprecated, isRootPage, parseCondition, parseTransformations
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, checkPermissions, getModuleClassName, getRequiredPermissions, getScopeKey, isBroken, isEnabled, loadClass, setBroken, validate
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.atlassian.plugin.ModuleDescriptor
getDisplayName, isBroken, isEnabled, setBroken
Methods inherited from interface com.atlassian.plugin.ScopeAware
getScopeKey
-
Constructor Details
-
WebResourceModuleDescriptorDelegate
public WebResourceModuleDescriptorDelegate(com.atlassian.plugin.webresource.WebResourceModuleDescriptor delegate)
-
-
Method Details
-
init
public void init(@NonNull com.atlassian.plugin.Plugin plugin, @NonNull com.atlassian.plugin.module.Element element) throws com.atlassian.plugin.PluginParseException - Specified by:
init
in interfacecom.atlassian.plugin.ModuleDescriptor<Void>
- Overrides:
init
in classcom.atlassian.plugin.webresource.WebResourceModuleDescriptor
- Throws:
com.atlassian.plugin.PluginParseException
-
getModule
- Specified by:
getModule
in interfacecom.atlassian.plugin.ModuleDescriptor<Void>
- Overrides:
getModule
in classcom.atlassian.plugin.webresource.WebResourceModuleDescriptor
-
enabled
public void enabled()- Specified by:
enabled
in interfacecom.atlassian.plugin.StateAware
- Overrides:
enabled
in classcom.atlassian.plugin.webresource.WebResourceModuleDescriptor
-
disabled
public void disabled()- Specified by:
disabled
in interfacecom.atlassian.plugin.StateAware
- Overrides:
disabled
in classcom.atlassian.plugin.webresource.WebResourceModuleDescriptor
-
getContexts
- Specified by:
getContexts
in interfacecom.atlassian.webresource.api.descriptor.WebResourceModuleDescriptor
- Overrides:
getContexts
in classcom.atlassian.plugin.webresource.WebResourceModuleDescriptor
-
getDependencies
- Specified by:
getDependencies
in interfacecom.atlassian.webresource.api.descriptor.WebResourceModuleDescriptor
- Overrides:
getDependencies
in classcom.atlassian.plugin.webresource.WebResourceModuleDescriptor
-
isDisableMinification
public boolean isDisableMinification()- Specified by:
isDisableMinification
in interfacecom.atlassian.webresource.api.descriptor.WebResourceModuleDescriptor
- Overrides:
isDisableMinification
in classcom.atlassian.plugin.webresource.WebResourceModuleDescriptor
-
getDataProviders
- Overrides:
getDataProviders
in classcom.atlassian.plugin.webresource.WebResourceModuleDescriptor
-
destroy
public void destroy() -
isEnabledByDefault
public boolean isEnabledByDefault() -
isSystemModule
public boolean isSystemModule() -
getCompleteKey
-
getPluginKey
-
getKey
-
getName
-
getModuleClass
-
getDescription
-
getParams
-
getI18nNameKey
-
getDescriptionKey
-
getResourceDescriptors
- Specified by:
getResourceDescriptors
in interfacecom.atlassian.plugin.Resourced
- Overrides:
getResourceDescriptors
in classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>
-
getResourceLocation
- Specified by:
getResourceLocation
in interfacecom.atlassian.plugin.Resourced
- Overrides:
getResourceLocation
in classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>
-
getResourceDescriptor
public com.atlassian.plugin.elements.ResourceDescriptor getResourceDescriptor(String type, String name) - Specified by:
getResourceDescriptor
in interfacecom.atlassian.plugin.Resourced
- Overrides:
getResourceDescriptor
in classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>
-
getMinJavaVersion
-
satisfiesMinJavaVersion
public boolean satisfiesMinJavaVersion() -
setPlugin
public void setPlugin(com.atlassian.plugin.Plugin plugin) - Overrides:
setPlugin
in classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>
-
getPlugin
public com.atlassian.plugin.Plugin getPlugin() -
equals
-
hashCode
public int hashCode() -
toString
- Overrides:
toString
in classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>
-