public class

KeyboardShortcutResource

extends Object
java.lang.Object
   ↳ com.atlassian.jira.rest.v1.keyboardshortcuts.KeyboardShortcutResource

Class Overview

Provides access to the keyboard shortcuts currently registered in the plugin system.

Summary

Nested Classes
class KeyboardShortcutResource.Shortcut  
class KeyboardShortcutResource.Shortcuts  
Public Constructors
KeyboardShortcutResource(KeyboardShortcutManager keyboardShortcutManager)
Public Methods
Response getShortCuts(Set<String> contextNames)
Returns a JSON representation of the keyboard shortcuts requested (which always includes the global context shortcuts).
Protected Methods
List<KeyboardShortcut> getKeyboardShortcutsFor(Set<String> contextNames)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public KeyboardShortcutResource (KeyboardShortcutManager keyboardShortcutManager)

Public Methods

public Response getShortCuts (Set<String> contextNames)

Returns a JSON representation of the keyboard shortcuts requested (which always includes the global context shortcuts).

Parameters
contextNames keyboard shortcut contexts to include along with the global context
Returns
  • a JSON representation of the keyboard shortcuts requested (always includes global shortcuts)

Protected Methods

protected List<KeyboardShortcut> getKeyboardShortcutsFor (Set<String> contextNames)