Package com.atlassian.jira.plugin.index
Class DefaultEntityIndexExtractorModuleDescriptor<T>
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<EntityIndexExtractor<T>>
com.atlassian.jira.plugin.AbstractJiraModuleDescriptor<EntityIndexExtractor<T>>
com.atlassian.jira.plugin.index.DefaultEntityIndexExtractorModuleDescriptor<T>
- All Implemented Interfaces:
JiraResourcedModuleDescriptor<EntityIndexExtractor<T>>,com.atlassian.plugin.ModuleDescriptor<EntityIndexExtractor<T>>,com.atlassian.plugin.Resourced,com.atlassian.plugin.ScopeAware,com.atlassian.plugin.StateAware
public class DefaultEntityIndexExtractorModuleDescriptor<T>
extends AbstractJiraModuleDescriptor<EntityIndexExtractor<T>>
Descriptor of modules which can add fields to indexes of issues, changes, work logs, and comments.
- Since:
- v10.4
-
Field Summary
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources -
Constructor Summary
ConstructorsConstructorDescriptionDefaultEntityIndexExtractorModuleDescriptor(JiraAuthenticationContext authenticationContext, com.atlassian.plugin.module.ModuleFactory moduleFactory, IndexExtractorRegistrationManager extractorRegistrationManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected EntityIndexExtractor<T> Creates an instance of the Module.voiddisabled()voidenabled()Methods inherited from class com.atlassian.jira.plugin.AbstractJiraModuleDescriptor
assertResourceExists, createVelocityParams, getAuthenticationContext, getClassLoader, getDescription, getHtml, getHtml, getI18nBean, getModule, getName, getText, getText, init, isResourceExist, writeHtmlMethods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, checkPermissions, destroy, equals, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, satisfiesMinJavaVersion, setBroken, setPlugin, toString, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, equals, getCompleteKey, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getParams, getPlugin, getPluginKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBrokenMethods inherited from interface com.atlassian.plugin.Resourced
getResourceDescriptor, getResourceDescriptors, getResourceLocationMethods inherited from interface com.atlassian.plugin.ScopeAware
getScopeKey
-
Constructor Details
-
DefaultEntityIndexExtractorModuleDescriptor
public DefaultEntityIndexExtractorModuleDescriptor(JiraAuthenticationContext authenticationContext, com.atlassian.plugin.module.ModuleFactory moduleFactory, IndexExtractorRegistrationManager extractorRegistrationManager)
-
-
Method Details
-
createModule
Description copied from class:AbstractJiraModuleDescriptorCreates an instance of the Module.This is called by the lazy load logic of getModule() and is suitable for overriding in subclasses if they want to customize how the Module class is instantiated.
- Overrides:
createModulein classAbstractJiraModuleDescriptor<EntityIndexExtractor<T>>- Returns:
- a new instance of the module.
-
enabled
public void enabled()- Specified by:
enabledin interfacecom.atlassian.plugin.StateAware- Overrides:
enabledin classAbstractJiraModuleDescriptor<EntityIndexExtractor<T>>
-
disabled
public void disabled()- Specified by:
disabledin interfacecom.atlassian.plugin.StateAware- Overrides:
disabledin classAbstractJiraModuleDescriptor<EntityIndexExtractor<T>>
-