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 |
destroy(com.atlassian.plugin.Plugin plugin)
Deprecated.
since 5.2, in Plugins 3.0
|
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() |
List<com.atlassian.plugin.elements.ResourceDescriptor> |
getResourceDescriptors(String type) |
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 |
isSingleton()
Deprecated.
Since 3.0, in Plugins 2.2
|
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, getModuleDependencies, getRootPageDescriptor, getTransformations, parseCondition, parseTransformationspublic 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.WebResourceModuleDescriptorcom.atlassian.plugin.PluginParseExceptionpublic Void getModule()
getModule in interface com.atlassian.plugin.ModuleDescriptor<Void>getModule in class com.atlassian.plugin.webresource.WebResourceModuleDescriptorpublic void enabled()
enabled in interface com.atlassian.plugin.StateAwareenabled in class com.atlassian.plugin.webresource.WebResourceModuleDescriptorpublic void disabled()
disabled in interface com.atlassian.plugin.StateAwaredisabled in class com.atlassian.plugin.webresource.WebResourceModuleDescriptorpublic Set<String> getContexts()
getContexts in class com.atlassian.plugin.webresource.WebResourceModuleDescriptorpublic List<String> getDependencies()
getDependencies in class com.atlassian.plugin.webresource.WebResourceModuleDescriptorpublic boolean isDisableMinification()
isDisableMinification in class com.atlassian.plugin.webresource.WebResourceModuleDescriptorpublic boolean canEncodeStateIntoUrl()
canEncodeStateIntoUrl in class com.atlassian.plugin.webresource.WebResourceModuleDescriptorpublic boolean shouldDisplay(com.atlassian.plugin.webresource.QueryParams params)
shouldDisplay in class com.atlassian.plugin.webresource.WebResourceModuleDescriptorpublic boolean shouldDisplayImmediate()
shouldDisplayImmediate in class com.atlassian.plugin.webresource.WebResourceModuleDescriptorpublic Map<String,com.atlassian.webresource.api.data.WebResourceDataProvider> getDataProviders()
getDataProviders in class com.atlassian.plugin.webresource.WebResourceModuleDescriptorpublic void destroy()
@Deprecated public void destroy(com.atlassian.plugin.Plugin plugin)
public boolean isEnabledByDefault()
public boolean isSystemModule()
@Deprecated public boolean isSingleton()
isSingleton in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>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.ResourcedgetResourceDescriptors in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>public List<com.atlassian.plugin.elements.ResourceDescriptor> getResourceDescriptors(String type)
getResourceDescriptors in interface com.atlassian.plugin.ResourcedgetResourceDescriptors 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.ResourcedgetResourceLocation 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.ResourcedgetResourceDescriptor 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–2018 Atlassian. All rights reserved.