public abstract class AbstractExtractorModuleDescriptor<T extends AbstractExtractorModuleDescriptor<T>> extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor<com.atlassian.bonnie.search.Extractor> implements Comparable<T>, PluginModuleFactory<com.atlassian.bonnie.search.Extractor>
Modifier | Constructor and Description |
---|---|
protected |
AbstractExtractorModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(AbstractExtractorModuleDescriptor otherDesc)
Module descriptors naturally sort from least to most priority
|
com.atlassian.bonnie.search.Extractor |
createModule() |
void |
disabled() |
void |
enabled() |
com.atlassian.bonnie.search.Extractor |
getModule() |
int |
getPriority() |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
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
protected AbstractExtractorModuleDescriptor(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<com.atlassian.bonnie.search.Extractor>
init
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<com.atlassian.bonnie.search.Extractor>
com.atlassian.plugin.PluginParseException
public com.atlassian.bonnie.search.Extractor getModule()
getModule
in interface com.atlassian.plugin.ModuleDescriptor<com.atlassian.bonnie.search.Extractor>
getModule
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<com.atlassian.bonnie.search.Extractor>
public void enabled()
enabled
in interface com.atlassian.plugin.StateAware
enabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<com.atlassian.bonnie.search.Extractor>
public void disabled()
disabled
in interface com.atlassian.plugin.StateAware
disabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<com.atlassian.bonnie.search.Extractor>
public int getPriority()
public int compareTo(AbstractExtractorModuleDescriptor otherDesc)
compareTo
in interface Comparable<T extends AbstractExtractorModuleDescriptor<T>>
public com.atlassian.bonnie.search.Extractor createModule()
createModule
in interface PluginModuleFactory<com.atlassian.bonnie.search.Extractor>
Copyright © 2003–2020 Atlassian. All rights reserved.