Class HomeUpdateHandlerModuleDescriptor

java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
com.atlassian.bitbucket.scm.BaseWeightedModuleDescriptor<HomeUpdateHandler>
com.atlassian.bitbucket.home.HomeUpdateHandlerModuleDescriptor
All Implemented Interfaces:
Weighted, com.atlassian.plugin.ModuleDescriptor<HomeUpdateHandler>, com.atlassian.plugin.Resourced, com.atlassian.plugin.ScopeAware, com.atlassian.plugin.StateAware, Comparable<BaseWeightedModuleDescriptor<HomeUpdateHandler>>

public class HomeUpdateHandlerModuleDescriptor extends BaseWeightedModuleDescriptor<HomeUpdateHandler>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

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

    key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources

    Fields inherited from interface com.atlassian.bitbucket.util.Weighted

    COMPARABLE
  • Constructor Summary

    Constructors
    Constructor
    Description
    HomeUpdateHandlerModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
     
    HomeUpdateHandlerModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory, int defaultWeight)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the HomeUpdateHandler for this descriptor.

    Methods inherited from class com.atlassian.bitbucket.scm.BaseWeightedModuleDescriptor

    compareTo, getWeight, init

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

    assertModuleClassImplements, checkPermissions, destroy, disabled, enabled, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, 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
  • Field Details

  • Constructor Details

    • HomeUpdateHandlerModuleDescriptor

      public HomeUpdateHandlerModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
    • HomeUpdateHandlerModuleDescriptor

      public HomeUpdateHandlerModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory, int defaultWeight)
  • Method Details

    • getModule

      public HomeUpdateHandler getModule()
      Retrieves the HomeUpdateHandler for this descriptor.

      No caching is done on the handler instance. This is intentional, to allow plugins to implement their handlers either as persistent services (using bean:someName notation) or as transient helpers.

      Specified by:
      getModule in interface com.atlassian.plugin.ModuleDescriptor<HomeUpdateHandler>
      Specified by:
      getModule in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<HomeUpdateHandler>
      Returns:
      the handler for this descriptor