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 registered
  • class: The fully qualified class name of your MergeQueueCheck implementation, or a bean reference using the bean:beanName notation.
Since:
10.2
See Also:
  • 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
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
     

    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, 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

    • MergeQueueCheckModuleDescriptor

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

    • getModule

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