Class TransformerModuleDescriptor
- java.lang.Object
-
- com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Transformer>
-
- com.atlassian.confluence.plugin.descriptor.TransformerModuleDescriptor
-
- All Implemented Interfaces:
PluginModuleFactory<Transformer>
,com.atlassian.plugin.ModuleDescriptor<Transformer>
,com.atlassian.plugin.Resourced
,com.atlassian.plugin.ScopeAware
,com.atlassian.plugin.StateAware
public class TransformerModuleDescriptor extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Transformer> implements PluginModuleFactory<Transformer>
- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description TransformerModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Transformer
createModule()
void
disabled()
void
enabled()
Transformer
getModule()
String
getTransformerChain()
int
getTransformerWeight()
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
-
-
-
-
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<Transformer>
- Overrides:
init
in classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<Transformer>
- 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<Transformer>
-
disabled
public void disabled()
- Specified by:
disabled
in interfacecom.atlassian.plugin.StateAware
- Overrides:
disabled
in classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<Transformer>
-
getTransformerChain
public String getTransformerChain()
-
getTransformerWeight
public int getTransformerWeight()
-
createModule
public Transformer createModule()
- Specified by:
createModule
in interfacePluginModuleFactory<Transformer>
-
getModule
public Transformer getModule()
- Specified by:
getModule
in interfacecom.atlassian.plugin.ModuleDescriptor<Transformer>
- Specified by:
getModule
in classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<Transformer>
-
-