Class DecoratorModuleDescriptor

  • All Implemented Interfaces:
    com.atlassian.plugin.ModuleDescriptor, com.atlassian.plugin.Resourced, com.atlassian.plugin.ScopeAware, com.atlassian.plugin.StateAware

    public class DecoratorModuleDescriptor
    extends AbstractBambooModuleDescriptor
    Module descriptor for Sitemesh decorators. This module descriptor has a page, which is the name of a velocity template resource, and a pattern, which is a regular expression matched against the request to see if this decorator should be applied. If more than regular expression matching is required, use a decorator mapper module instead.
    • Constructor Detail

      • DecoratorModuleDescriptor

        public DecoratorModuleDescriptor​(com.atlassian.plugin.module.ModuleFactory moduleFactory)
    • Method Detail

      • init

        public void init​(com.atlassian.plugin.Plugin plugin,
                         org.dom4j.Element element)
                  throws com.atlassian.plugin.PluginParseException
        Specified by:
        init in interface com.atlassian.plugin.ModuleDescriptor
        Overrides:
        init in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
        Throws:
        com.atlassian.plugin.PluginParseException
      • getPattern

        @Nullable
        public @Nullable Pattern getPattern()
      • getPage

        @NotNull
        public @NotNull String getPage()