Class AttachmentTextExtractorModuleDescriptor
- java.lang.Object
-
- com.atlassian.plugin.descriptors.AbstractModuleDescriptor<AttachmentTextExtractor>
-
- com.atlassian.confluence.plugin.descriptor.AttachmentTextExtractorModuleDescriptor
-
- All Implemented Interfaces:
PluginModuleFactory<AttachmentTextExtractor>
,com.atlassian.plugin.ModuleDescriptor<AttachmentTextExtractor>
,com.atlassian.plugin.Resourced
,com.atlassian.plugin.ScopeAware
,com.atlassian.plugin.StateAware
,Comparable<AttachmentTextExtractorModuleDescriptor>
@Internal public class AttachmentTextExtractorModuleDescriptor extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor<AttachmentTextExtractor> implements Comparable<AttachmentTextExtractorModuleDescriptor>, PluginModuleFactory<AttachmentTextExtractor>
Attachment text extractor module descriptors- Since:
- 6.5
-
-
Constructor Summary
Constructors Constructor Description AttachmentTextExtractorModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(AttachmentTextExtractorModuleDescriptor other)
Module descriptors naturally sort from least to most priorityAttachmentTextExtractor
createModule()
void
disabled()
void
enabled()
AttachmentTextExtractor
getModule()
int
getPriority()
void
init(com.atlassian.plugin.Plugin plugin, 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(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
- Specified by:
init
in interfacecom.atlassian.plugin.ModuleDescriptor<AttachmentTextExtractor>
- Overrides:
init
in classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<AttachmentTextExtractor>
- Throws:
com.atlassian.plugin.PluginParseException
-
getModule
public AttachmentTextExtractor getModule()
- Specified by:
getModule
in interfacecom.atlassian.plugin.ModuleDescriptor<AttachmentTextExtractor>
- Specified by:
getModule
in classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<AttachmentTextExtractor>
-
enabled
public void enabled()
- Specified by:
enabled
in interfacecom.atlassian.plugin.StateAware
- Overrides:
enabled
in classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<AttachmentTextExtractor>
-
disabled
public void disabled()
- Specified by:
disabled
in interfacecom.atlassian.plugin.StateAware
- Overrides:
disabled
in classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<AttachmentTextExtractor>
-
getPriority
public int getPriority()
-
compareTo
public int compareTo(AttachmentTextExtractorModuleDescriptor other)
Module descriptors naturally sort from least to most priority- Specified by:
compareTo
in interfaceComparable<AttachmentTextExtractorModuleDescriptor>
-
createModule
public AttachmentTextExtractor createModule()
- Specified by:
createModule
in interfacePluginModuleFactory<AttachmentTextExtractor>
-
-