public class SshCommandFactoryModuleDescriptor extends BaseWeightedModuleDescriptor<SshCommandFactory>
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| Modifier and Type | Field and Description |
|---|---|
static String |
XML_ELEMENT_NAME |
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resourcesCOMPARABLE| Constructor and Description |
|---|
SshCommandFactoryModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory) |
| Modifier and Type | Method and Description |
|---|---|
SshCommandFactory |
getModule() |
compareTo, getWeight, initassertModuleClassImplements, 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, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toStringpublic static final String XML_ELEMENT_NAME
public SshCommandFactoryModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
public SshCommandFactory getModule()
getModule in interface com.atlassian.plugin.ModuleDescriptor<SshCommandFactory>getModule in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<SshCommandFactory>Copyright © 2022 Atlassian. All rights reserved.