public abstract class AbstractExtractorModuleDescriptor extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor<com.atlassian.bonnie.search.Extractor> implements Comparable, 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(Object o)
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, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, 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(Object o)
compareTo
in interface Comparable
public com.atlassian.bonnie.search.Extractor createModule()
createModule
in interface PluginModuleFactory<com.atlassian.bonnie.search.Extractor>
Copyright © 2003–2017 Atlassian. All rights reserved.