public class

SshCommandFactoryModuleDescriptor

extends BaseWeightedModuleDescriptor<T>
java.lang.Object
   ↳ com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
     ↳ com.atlassian.bitbucket.scm.BaseWeightedModuleDescriptor<T>
       ↳ com.atlassian.bitbucket.ssh.command.SshCommandFactoryModuleDescriptor

Class Overview

Module descriptor for providing SshCommandFactory implementations.

Usage:


     <ssh-command-factory
              key="whoSshCommandFactory"
              class="com.example.ssh.WhoSshCommandFactory"
              weight="100"/>
 
The key and class attributes are required. The weight attribute is optional.
  • weight: Defines the order in which SshCommandFactory implementations will be queried. Lower weights are queried earlier and the default weight is 100. The first implementation that supports a given command will be used

Summary

Constants
String XML_ELEMENT_NAME
[Expand]
Inherited Fields
From class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
From interface com.atlassian.bitbucket.util.Weighted
Public Constructors
SshCommandFactoryModuleDescriptor(ModuleFactory moduleFactory)
Public Methods
SshCommandFactory getModule()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.scm.BaseWeightedModuleDescriptor
From class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
From class java.lang.Object
From interface com.atlassian.bitbucket.util.Weighted
From interface com.atlassian.plugin.ModuleDescriptor
From interface com.atlassian.plugin.Resourced
From interface com.atlassian.plugin.ScopeAware
From interface com.atlassian.plugin.StateAware
From interface java.lang.Comparable

Constants

public static final String XML_ELEMENT_NAME

Constant Value: "ssh-command-factory"

Public Constructors

public SshCommandFactoryModuleDescriptor (ModuleFactory moduleFactory)

Public Methods

public SshCommandFactory getModule ()