Class AsyncHandlerModuleDescriptor

java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<MacroAsyncHandler>
com.atlassian.confluence.content.render.xhtml.view.macro.AsyncHandlerModuleDescriptor
All Implemented Interfaces:
PluginModuleFactory<MacroAsyncHandler>, com.atlassian.plugin.ModuleDescriptor<MacroAsyncHandler>, com.atlassian.plugin.Resourced, com.atlassian.plugin.ScopeAware, com.atlassian.plugin.StateAware

public class AsyncHandlerModuleDescriptor extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor<MacroAsyncHandler> implements PluginModuleFactory<MacroAsyncHandler>
Module descriptor for async macro handler implementations. Plugins can provide an AsyncHandler implementation by declaring an async-handler module.
Since:
10.3
  • Field Summary

    Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor

    key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources
  • Constructor Summary

    Constructors
    Constructor
    Description
    AsyncHandlerModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
     
    void
     
     

    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, init, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, satisfiesMinJavaVersion, setBroken, setPlugin, toString, validate

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.atlassian.plugin.ModuleDescriptor

    getDisplayName
  • Constructor Details

    • AsyncHandlerModuleDescriptor

      public AsyncHandlerModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
  • Method Details

    • getModule

      public MacroAsyncHandler getModule()
      Specified by:
      getModule in interface com.atlassian.plugin.ModuleDescriptor<MacroAsyncHandler>
      Specified by:
      getModule in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<MacroAsyncHandler>
    • createModule

      public MacroAsyncHandler createModule()
      Specified by:
      createModule in interface PluginModuleFactory<MacroAsyncHandler>
    • enabled

      public void enabled()
      Specified by:
      enabled in interface com.atlassian.plugin.StateAware
      Overrides:
      enabled in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<MacroAsyncHandler>
    • disabled

      public void disabled()
      Specified by:
      disabled in interface com.atlassian.plugin.StateAware
      Overrides:
      disabled in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<MacroAsyncHandler>