Class TemplateRendererModuleDescriptor
- java.lang.Object
-
- com.atlassian.plugin.descriptors.AbstractModuleDescriptor<TemplateRenderer>
-
- com.atlassian.confluence.renderer.template.TemplateRendererModuleDescriptor
-
- All Implemented Interfaces:
PluginModuleFactory<TemplateRenderer>
,com.atlassian.plugin.ModuleDescriptor<TemplateRenderer>
,com.atlassian.plugin.Resourced
,com.atlassian.plugin.ScopeAware
,com.atlassian.plugin.StateAware
public class TemplateRendererModuleDescriptor extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor<TemplateRenderer> implements PluginModuleFactory<TemplateRenderer>
Module descriptor for plugin modules that provide a TemplateRenderer implementation for a particular templating language- See Also:
TemplateRenderer
-
-
Constructor Summary
Constructors Constructor Description TemplateRendererModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TemplateRenderer
createModule()
void
disabled()
void
enabled()
TemplateRenderer
getModule()
Collection<String>
getSupportedFileExtensions()
void
init(@NonNull com.atlassian.plugin.Plugin plugin, @NonNull org.dom4j.Element element)
-
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
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, validate
-
-
-
-
Method Detail
-
init
public void init(@NonNull com.atlassian.plugin.Plugin plugin, @NonNull org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
- Specified by:
init
in interfacecom.atlassian.plugin.ModuleDescriptor<TemplateRenderer>
- Overrides:
init
in classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<TemplateRenderer>
- Throws:
com.atlassian.plugin.PluginParseException
-
enabled
public void enabled()
- Specified by:
enabled
in interfacecom.atlassian.plugin.StateAware
- Overrides:
enabled
in classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<TemplateRenderer>
-
disabled
public void disabled()
- Specified by:
disabled
in interfacecom.atlassian.plugin.StateAware
- Overrides:
disabled
in classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<TemplateRenderer>
-
getModule
public TemplateRenderer getModule()
- Specified by:
getModule
in interfacecom.atlassian.plugin.ModuleDescriptor<TemplateRenderer>
- Specified by:
getModule
in classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<TemplateRenderer>
-
createModule
public TemplateRenderer createModule()
- Specified by:
createModule
in interfacePluginModuleFactory<TemplateRenderer>
-
getSupportedFileExtensions
public Collection<String> getSupportedFileExtensions()
-
-