public class

ScmProtocolModuleDescriptor

extends AbstractModuleDescriptor<T>
java.lang.Object
   ↳ com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
     ↳ com.atlassian.bitbucket.scm.ScmProtocolModuleDescriptor

Class Overview

Provides an ScmProtocol implementation used in connection with one or more Scms.

Usage example:

     <scm-protocol
          key="ssh-protocol-for-git"
          weight="10"
          class="com.atlassian.stash.internal.scm.git.protocol.http.GitHttpProtocol"/>
 

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.

Summary

Constants
String XML_ELEMENT_NAME
[Expand]
Inherited Fields
From class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
Public Constructors
ScmProtocolModuleDescriptor(ModuleFactory moduleFactory)
Public Methods
void disabled()
ScmProtocol getModule()
[Expand]
Inherited Methods
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.ScopeAware
From interface com.atlassian.plugin.StateAware

Constants

public static final String XML_ELEMENT_NAME

Constant Value: "scm-protocol"

Public Constructors

public ScmProtocolModuleDescriptor (ModuleFactory moduleFactory)

Public Methods

public void disabled ()

public ScmProtocol getModule ()