public class KeyboardShortcutModuleDescriptor extends AbstractJiraModuleDescriptor<KeyboardShortcut> implements OrderableModuleDescriptor, com.atlassian.plugin.web.descriptors.ConditionalDescriptor
Constructor and Description |
---|
KeyboardShortcutModuleDescriptor(JiraAuthenticationContext authenticationContext,
KeyboardShortcutManager keyboardShortcutManager,
com.atlassian.plugin.module.ModuleFactory moduleFactory,
ConditionDescriptorFactory conditionDescriptorFactory) |
Modifier and Type | Method and Description |
---|---|
protected KeyboardShortcut |
createModule()
Creates an instance of the Module.
|
void |
disabled() |
void |
enabled() |
com.atlassian.plugin.web.Condition |
getCondition() |
int |
getOrder() |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
boolean |
isHidden() |
assertResourceExists, createVelocityParams, getAuthenticationContext, getClassLoader, getDescription, getHtml, getHtml, getI18nBean, getModule, getName, getText, getText, isResourceExist, writeHtml
assertModuleClassImplements, checkPermissions, destroy, destroy, equals, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
destroy, destroy, equals, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getParams, getPlugin, getPluginKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBroken
public KeyboardShortcutModuleDescriptor(JiraAuthenticationContext authenticationContext, KeyboardShortcutManager keyboardShortcutManager, com.atlassian.plugin.module.ModuleFactory moduleFactory, ConditionDescriptorFactory conditionDescriptorFactory)
public void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.ModuleDescriptor<KeyboardShortcut>
init
in class AbstractJiraModuleDescriptor<KeyboardShortcut>
com.atlassian.plugin.PluginParseException
protected KeyboardShortcut createModule()
AbstractJiraModuleDescriptor
This is called by the lazy load logic of getModule() and is suitable for overriding in subclasses if they want to customize how the Module class is instantiated.
createModule
in class AbstractJiraModuleDescriptor<KeyboardShortcut>
public void enabled()
enabled
in interface com.atlassian.plugin.StateAware
enabled
in class AbstractJiraModuleDescriptor<KeyboardShortcut>
public void disabled()
disabled
in interface com.atlassian.plugin.StateAware
disabled
in class AbstractJiraModuleDescriptor<KeyboardShortcut>
public int getOrder()
getOrder
in interface OrderableModuleDescriptor
public boolean isHidden()
public com.atlassian.plugin.web.Condition getCondition()
getCondition
in interface com.atlassian.plugin.web.descriptors.ConditionalDescriptor
Copyright © 2002-2017 Atlassian. All Rights Reserved.