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
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
ConstructorDescriptionHomeUpdateHandlerModuleDescriptor
(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, 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
-
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 theHomeUpdateHandler
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 interfacecom.atlassian.plugin.ModuleDescriptor<HomeUpdateHandler>
- Specified by:
getModule
in classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<HomeUpdateHandler>
- Returns:
- the handler for this descriptor
-