Package com.atlassian.bitbucket.home
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
FieldsFields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resourcesFields inherited from interface com.atlassian.bitbucket.util.Weighted
COMPARABLE -
Constructor Summary
ConstructorsConstructorDescriptionHomeUpdateHandlerModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory) HomeUpdateHandlerModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory, int defaultWeight) -
Method Summary
Methods inherited from class com.atlassian.bitbucket.scm.BaseWeightedModuleDescriptor
compareTo, getWeight, initMethods 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, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.plugin.ModuleDescriptor
getDisplayName
-
Field Details
-
XML_ELEMENT_NAME
- See Also:
-
-
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
Retrieves theHomeUpdateHandlerfor 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:someNamenotation) or as transient helpers.- Specified by:
getModulein interfacecom.atlassian.plugin.ModuleDescriptor<HomeUpdateHandler>- Specified by:
getModulein classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<HomeUpdateHandler>- Returns:
- the handler for this descriptor
-