public abstract class WebResourceModuleDescriptorDelegate
extends com.atlassian.plugin.webresource.WebResourceModuleDescriptor
Constructor and Description |
---|
WebResourceModuleDescriptorDelegate(com.atlassian.plugin.webresource.WebResourceModuleDescriptor delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
canEncodeStateIntoUrl() |
void |
destroy() |
void |
disabled() |
void |
enabled() |
boolean |
equals(Object obj) |
String |
getCompleteKey() |
Set<String> |
getContexts() |
Map<String,com.atlassian.webresource.api.data.WebResourceDataProvider> |
getDataProviders() |
List<String> |
getDependencies() |
String |
getDescription() |
String |
getDescriptionKey() |
String |
getI18nNameKey() |
String |
getKey() |
Float |
getMinJavaVersion() |
Void |
getModule() |
Class<Void> |
getModuleClass() |
String |
getName() |
Map<String,String> |
getParams() |
com.atlassian.plugin.Plugin |
getPlugin() |
String |
getPluginKey() |
com.atlassian.plugin.elements.ResourceDescriptor |
getResourceDescriptor(String type,
String name) |
List<com.atlassian.plugin.elements.ResourceDescriptor> |
getResourceDescriptors() |
com.atlassian.plugin.elements.ResourceLocation |
getResourceLocation(String type,
String name) |
int |
hashCode() |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
boolean |
isDisableMinification() |
boolean |
isEnabledByDefault() |
boolean |
isSystemModule() |
boolean |
satisfiesMinJavaVersion() |
void |
setPlugin(com.atlassian.plugin.Plugin plugin) |
boolean |
shouldDisplay(com.atlassian.plugin.webresource.QueryParams params) |
boolean |
shouldDisplayImmediate() |
String |
toString() |
getAsyncContextDependencies, getAsyncDependencies, getCondition, getContextDependencies, getDeprecatedConditionKeys, getDeprecatedTransformKeys, getDeprecation, getModuleDependencies, getTransformations, isDeprecated, isRootPage, parseCondition, parseTransformations
assertModuleClassImplements, checkPermissions, getModuleClassName, getRequiredPermissions, getScopeKey, isBroken, isEnabled, loadClass, provideValidationRules, setBroken
public WebResourceModuleDescriptorDelegate(com.atlassian.plugin.webresource.WebResourceModuleDescriptor delegate)
public void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.ModuleDescriptor<Void>
init
in class com.atlassian.plugin.webresource.WebResourceModuleDescriptor
com.atlassian.plugin.PluginParseException
public Void getModule()
getModule
in interface com.atlassian.plugin.ModuleDescriptor<Void>
getModule
in class com.atlassian.plugin.webresource.WebResourceModuleDescriptor
public void enabled()
enabled
in interface com.atlassian.plugin.StateAware
enabled
in class com.atlassian.plugin.webresource.WebResourceModuleDescriptor
public void disabled()
disabled
in interface com.atlassian.plugin.StateAware
disabled
in class com.atlassian.plugin.webresource.WebResourceModuleDescriptor
public Set<String> getContexts()
getContexts
in class com.atlassian.plugin.webresource.WebResourceModuleDescriptor
public List<String> getDependencies()
getDependencies
in class com.atlassian.plugin.webresource.WebResourceModuleDescriptor
public boolean isDisableMinification()
isDisableMinification
in class com.atlassian.plugin.webresource.WebResourceModuleDescriptor
public boolean canEncodeStateIntoUrl()
canEncodeStateIntoUrl
in class com.atlassian.plugin.webresource.WebResourceModuleDescriptor
public boolean shouldDisplay(com.atlassian.plugin.webresource.QueryParams params)
shouldDisplay
in class com.atlassian.plugin.webresource.WebResourceModuleDescriptor
public boolean shouldDisplayImmediate()
shouldDisplayImmediate
in class com.atlassian.plugin.webresource.WebResourceModuleDescriptor
public Map<String,com.atlassian.webresource.api.data.WebResourceDataProvider> getDataProviders()
getDataProviders
in class com.atlassian.plugin.webresource.WebResourceModuleDescriptor
public void destroy()
public boolean isEnabledByDefault()
public boolean isSystemModule()
public String getCompleteKey()
public String getPluginKey()
public String getKey()
public String getName()
public String getDescription()
public String getI18nNameKey()
public String getDescriptionKey()
public List<com.atlassian.plugin.elements.ResourceDescriptor> getResourceDescriptors()
getResourceDescriptors
in interface com.atlassian.plugin.Resourced
getResourceDescriptors
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>
public com.atlassian.plugin.elements.ResourceLocation getResourceLocation(String type, String name)
getResourceLocation
in interface com.atlassian.plugin.Resourced
getResourceLocation
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>
public com.atlassian.plugin.elements.ResourceDescriptor getResourceDescriptor(String type, String name)
getResourceDescriptor
in interface com.atlassian.plugin.Resourced
getResourceDescriptor
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>
public Float getMinJavaVersion()
public boolean satisfiesMinJavaVersion()
public void setPlugin(com.atlassian.plugin.Plugin plugin)
setPlugin
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>
public com.atlassian.plugin.Plugin getPlugin()
public boolean equals(Object obj)
public int hashCode()
Copyright © 2003–2021 Atlassian. All rights reserved.