public final class DecoratorModuleDescriptor extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor<PluginProvidedDecoratorModule>
<decorator>
plugin module. Provide a decorator for urls that matches the given patterns.
<decorator name="name-of-decorator" key="key-of-decorator" page="path/to/servlet"> <description>description</description> <pattern>/admin/*</pattern> <pattern>/plugins/*</pattern> </decorator>
Constructor and Description |
---|
DecoratorModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory) |
Modifier and Type | Method and Description |
---|---|
PluginProvidedDecoratorModule |
getModule() |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
assertModuleClassImplements, checkPermissions, destroy, disabled, enabled, 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
public DecoratorModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
public void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.ModuleDescriptor<PluginProvidedDecoratorModule>
init
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<PluginProvidedDecoratorModule>
com.atlassian.plugin.PluginParseException
public PluginProvidedDecoratorModule getModule()
getModule
in interface com.atlassian.plugin.ModuleDescriptor<PluginProvidedDecoratorModule>
getModule
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<PluginProvidedDecoratorModule>
Copyright © 2020 Atlassian. All rights reserved.