public class WebResourceModuleDescriptor extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>
| Constructor and Description |
|---|
WebResourceModuleDescriptor(com.atlassian.plugin.hostcontainer.HostContainer hostContainer)
Deprecated.
|
WebResourceModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory,
com.atlassian.plugin.hostcontainer.HostContainer hostContainer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canEncodeStateIntoUrl() |
void |
disabled() |
void |
enabled() |
DecoratingCondition |
getCondition() |
Set<String> |
getContextDependencies()
Returns the set of contexts that this resource depends on.
|
Set<String> |
getContexts()
Returns the web resource contexts this resource is associated with.
|
Map<String,WebResourceDataProvider> |
getDataProviders() |
List<String> |
getDependencies()
Returns a list of dependencies on other web resources.
|
Set<String> |
getDeprecatedConditionKeys()
Deprecated.
in 3.0.5
|
Set<String> |
getDeprecatedTransformKeys(TransformerCache transformerCache)
Deprecated.
in 3.0.5
|
Deprecation |
getDeprecation() |
Void |
getModule()
As this descriptor just handles resources, you should never call this
|
List<WebResourceTransformation> |
getTransformations() |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
boolean |
isDeprecated() |
boolean |
isDisableMinification() |
boolean |
isRootPage()
Returns an Option of the RootPage object.
|
static DecoratingCondition |
parseCondition(UrlReadingConditionElementParser conditionElementParser,
com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
static List<WebResourceTransformation> |
parseTransformations(org.dom4j.Element element)
Parse transformations.
|
boolean |
shouldDisplay(QueryParams params) |
boolean |
shouldDisplayImmediate() |
assertModuleClassImplements, checkPermissions, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toString@Deprecated public WebResourceModuleDescriptor(com.atlassian.plugin.hostcontainer.HostContainer hostContainer)
WebResourceModuleDescriptor(com.atlassian.plugin.module.ModuleFactory, com.atlassian.plugin.hostcontainer.HostContainer)public WebResourceModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory,
com.atlassian.plugin.hostcontainer.HostContainer hostContainer)
public static List<WebResourceTransformation> parseTransformations(org.dom4j.Element element)
public static DecoratingCondition parseCondition(UrlReadingConditionElementParser conditionElementParser, com.atlassian.plugin.Plugin plugin, org.dom4j.Element element)
public void init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element)
throws com.atlassian.plugin.PluginParseException
public Void getModule()
public void enabled()
enabled in interface com.atlassian.plugin.StateAwareenabled in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>public void disabled()
disabled in interface com.atlassian.plugin.StateAwaredisabled in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>public boolean isDeprecated()
public Deprecation getDeprecation()
public Set<String> getContexts()
public List<String> getDependencies()
public boolean isRootPage()
public Set<String> getContextDependencies()
public List<WebResourceTransformation> getTransformations()
public DecoratingCondition getCondition()
public boolean isDisableMinification()
true if resource minification should be skipped, false otherwise.public boolean canEncodeStateIntoUrl()
public boolean shouldDisplay(QueryParams params)
params - querystring paramspublic boolean shouldDisplayImmediate()
public Map<String,WebResourceDataProvider> getDataProviders()
@Deprecated public Set<String> getDeprecatedConditionKeys()
@Deprecated public Set<String> getDeprecatedTransformKeys(TransformerCache transformerCache)
Copyright © 2024 Atlassian. All rights reserved.