Class SshCommandFactoryModuleDescriptor
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
com.atlassian.bitbucket.scm.BaseWeightedModuleDescriptor<SshCommandFactory>
com.atlassian.bitbucket.ssh.command.SshCommandFactoryModuleDescriptor
- All Implemented Interfaces:
Weighted,com.atlassian.plugin.ModuleDescriptor<SshCommandFactory>,com.atlassian.plugin.Resourced,com.atlassian.plugin.ScopeAware,com.atlassian.plugin.StateAware,Comparable<BaseWeightedModuleDescriptor<SshCommandFactory>>
public class SshCommandFactoryModuleDescriptor
extends BaseWeightedModuleDescriptor<SshCommandFactory>
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 whichSshCommandFactoryimplementations 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
-
Field Summary
FieldsFields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resourcesFields inherited from interface com.atlassian.bitbucket.util.Weighted
COMPARABLE -
Constructor Summary
ConstructorsConstructorDescriptionSshCommandFactoryModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory) -
Method Summary
Methods inherited from class com.atlassian.bitbucket.scm.BaseWeightedModuleDescriptor
compareTo, getWeight, initMethods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, 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, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.plugin.ModuleDescriptor
getDisplayName
-
Field Details
-
XML_ELEMENT_NAME
- See Also:
-
-
Constructor Details
-
SshCommandFactoryModuleDescriptor
public SshCommandFactoryModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
-
-
Method Details
-
getModule
- Specified by:
getModulein interfacecom.atlassian.plugin.ModuleDescriptor<SshCommandFactory>- Specified by:
getModulein classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<SshCommandFactory>
-