public class ScmProtocolModuleDescriptor extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ScmProtocol>
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.
Modifier and Type | Field and Description |
---|---|
static String |
XML_ELEMENT_NAME |
Constructor and Description |
---|
ScmProtocolModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory) |
Modifier and Type | Method and Description |
---|---|
void |
disabled() |
ScmProtocol |
getModule() |
assertModuleClassImplements, checkPermissions, destroy, 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, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toString, validate
public static final String XML_ELEMENT_NAME
public ScmProtocolModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
public void disabled()
disabled
in interface com.atlassian.plugin.StateAware
disabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ScmProtocol>
public ScmProtocol getModule()
getModule
in interface com.atlassian.plugin.ModuleDescriptor<ScmProtocol>
getModule
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ScmProtocol>
Copyright © 2024 Atlassian. All rights reserved.