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 TypeMethodDescriptionvoiddestroy()voiddisabled()voidenabled()booleangetKey()getName()com.atlassian.plugin.Plugincom.atlassian.plugin.elements.ResourceDescriptorgetResourceDescriptor(String type, String name) List<com.atlassian.plugin.elements.ResourceDescriptor>com.atlassian.plugin.elements.ResourceLocationgetResourceLocation(String type, String name) inthashCode()voidinit(@NonNull com.atlassian.plugin.Plugin plugin, @NonNull com.atlassian.plugin.module.Element element) booleanbooleanbooleanbooleanvoidsetPlugin(com.atlassian.plugin.Plugin plugin) toString()Methods inherited from class com.atlassian.plugin.webresource.WebResourceModuleDescriptor
getCondition, getContextDependencies, getDeprecation, getTransformations, isDeprecated, isRootPage, parseCondition, parseTransformationsMethods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, checkPermissions, getModuleClassName, getRequiredPermissions, getScopeKey, isBroken, isEnabled, loadClass, setBroken, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.plugin.ModuleDescriptor
getDisplayName, isBroken, isEnabled, setBrokenMethods 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:
initin interfacecom.atlassian.plugin.ModuleDescriptor<Void>- Overrides:
initin classcom.atlassian.plugin.webresource.WebResourceModuleDescriptor- Throws:
com.atlassian.plugin.PluginParseException
-
getModule
- Specified by:
getModulein interfacecom.atlassian.plugin.ModuleDescriptor<Void>- Overrides:
getModulein classcom.atlassian.plugin.webresource.WebResourceModuleDescriptor
-
enabled
public void enabled()- Specified by:
enabledin interfacecom.atlassian.plugin.StateAware- Overrides:
enabledin classcom.atlassian.plugin.webresource.WebResourceModuleDescriptor
-
disabled
public void disabled()- Specified by:
disabledin interfacecom.atlassian.plugin.StateAware- Overrides:
disabledin classcom.atlassian.plugin.webresource.WebResourceModuleDescriptor
-
getContexts
- Specified by:
getContextsin interfacecom.atlassian.webresource.api.descriptor.WebResourceModuleDescriptor- Overrides:
getContextsin classcom.atlassian.plugin.webresource.WebResourceModuleDescriptor
-
getDependencies
- Specified by:
getDependenciesin interfacecom.atlassian.webresource.api.descriptor.WebResourceModuleDescriptor- Overrides:
getDependenciesin classcom.atlassian.plugin.webresource.WebResourceModuleDescriptor
-
isDisableMinification
public boolean isDisableMinification()- Specified by:
isDisableMinificationin interfacecom.atlassian.webresource.api.descriptor.WebResourceModuleDescriptor- Overrides:
isDisableMinificationin classcom.atlassian.plugin.webresource.WebResourceModuleDescriptor
-
getDataProviders
- Overrides:
getDataProvidersin 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:
getResourceDescriptorsin interfacecom.atlassian.plugin.Resourced- Overrides:
getResourceDescriptorsin classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>
-
getResourceLocation
- Specified by:
getResourceLocationin interfacecom.atlassian.plugin.Resourced- Overrides:
getResourceLocationin classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>
-
getResourceDescriptor
public com.atlassian.plugin.elements.ResourceDescriptor getResourceDescriptor(String type, String name) - Specified by:
getResourceDescriptorin interfacecom.atlassian.plugin.Resourced- Overrides:
getResourceDescriptorin classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>
-
getMinJavaVersion
-
satisfiesMinJavaVersion
public boolean satisfiesMinJavaVersion() -
setPlugin
public void setPlugin(com.atlassian.plugin.Plugin plugin) - Overrides:
setPluginin classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>
-
getPlugin
public com.atlassian.plugin.Plugin getPlugin() -
equals
-
hashCode
public int hashCode() -
toString
- Overrides:
toStringin classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>
-