public class ScmRequestCheckModuleDescriptor extends BaseWeightedModuleDescriptor<ScmRequestCheck>
ScmRequestCheck implementation used by the ScmRequestCheckService.
Usage example:
<scm-request-check
key="throttleCheck"
class="com.atlassian.bitbucket.internal.scm.check.ThrottleCheck"
weight="20" />
The (optional) weight attribute defines the order in which ScmRequestCheck implementations will be queried.
Lower weights are queried earlier and the default weight is 10. If an earlier ScmRequestCheck vetoes an
ScmRequest subsequent checks will not be called.
| Modifier and Type | Field and Description |
|---|---|
static String |
XML_ELEMENT_NAME |
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resourcesCOMPARABLE| Modifier | Constructor and Description |
|---|---|
protected |
ScmRequestCheckModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory) |
| Modifier and Type | Method and Description |
|---|---|
ScmRequestCheck |
getModule() |
protected void |
provideValidationRules(com.atlassian.plugin.util.validation.ValidationPattern pattern) |
compareTo, getWeight, initassertModuleClassImplements, 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, validatepublic static final String XML_ELEMENT_NAME
protected ScmRequestCheckModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
protected void provideValidationRules(com.atlassian.plugin.util.validation.ValidationPattern pattern)
provideValidationRules in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ScmRequestCheck>public ScmRequestCheck getModule()
getModule in interface com.atlassian.plugin.ModuleDescriptor<ScmRequestCheck>getModule in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ScmRequestCheck>Copyright © 2024 Atlassian. All rights reserved.