Class MergeQueueCheckModuleDescriptor
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<MergeQueueCheck>
com.atlassian.bitbucket.pull.mergequeue.MergeQueueCheckModuleDescriptor
- All Implemented Interfaces:
com.atlassian.plugin.ModuleDescriptor<MergeQueueCheck>,com.atlassian.plugin.Resourced,com.atlassian.plugin.ScopeAware,com.atlassian.plugin.StateAware
public class MergeQueueCheckModuleDescriptor
extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor<MergeQueueCheck>
Module descriptor for registering
MergeQueueCheck implementations.
Usage example:
<merge-queue-check
key="customMergeQueueCheck"
class="com.example.stash.CustomMergeQueueCheck"/>
Required attributes:
key: A unique key identifying the check being registeredclass: The fully qualified class name of yourMergeQueueCheckimplementation, or a bean reference using thebean:beanNamenotation.
- Since:
- 10.2
- See Also:
-
Field Summary
FieldsFields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources -
Constructor Summary
ConstructorsConstructorDescriptionMergeQueueCheckModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory) -
Method Summary
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, init, 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
-
MergeQueueCheckModuleDescriptor
public MergeQueueCheckModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
-
-
Method Details
-
getModule
- Specified by:
getModulein interfacecom.atlassian.plugin.ModuleDescriptor<MergeQueueCheck>- Specified by:
getModulein classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<MergeQueueCheck>
-