public class

HttpScmRequestHandlerModuleDescriptor

extends BaseWeightedModuleDescriptor<T>
java.lang.Object
   ↳ com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
     ↳ com.atlassian.stash.scm.BaseWeightedModuleDescriptor<T>
       ↳ com.atlassian.stash.scm.http.HttpScmRequestHandlerModuleDescriptor

Class Overview

Module descriptor for providing HttpScmRequestHandlerModuleDescriptor implementations.

Usage example:

     <http-request-handler
              key="gitHttpScmRequestHandler"
                class="com.atlassian.stash.internal.scm.git.web.GitHttpScmRequestHandler"
              weight="100" />
 

The (optional) weight attribute defines the order in which HttpScmRequestHandler implementations will be queried. Lower weights are queried earlier and the default weight is 100. The first implementation that supports a given request will be used.

Summary

Constants
String XML_ELEMENT_NAME
[Expand]
Inherited Fields
From class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
From interface com.atlassian.stash.util.Weighted
Public Constructors
HttpScmRequestHandlerModuleDescriptor(ModuleFactory moduleFactory)
Public Methods
HttpScmRequestHandler getModule()
Protected Methods
void provideValidationRules(ValidationPattern pattern)
[Expand]
Inherited Methods
From class com.atlassian.stash.scm.BaseWeightedModuleDescriptor
From class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
From class java.lang.Object
From interface com.atlassian.plugin.ModuleDescriptor
From interface com.atlassian.plugin.Resourced
From interface com.atlassian.plugin.StateAware
From interface com.atlassian.stash.util.Weighted
From interface java.lang.Comparable

Constants

public static final String XML_ELEMENT_NAME

Constant Value: "http-request-handler"

Public Constructors

public HttpScmRequestHandlerModuleDescriptor (ModuleFactory moduleFactory)

Public Methods

public HttpScmRequestHandler getModule ()

Protected Methods

protected void provideValidationRules (ValidationPattern pattern)