com.atlassian.jira.rest.v1.keyboardshortcuts
Class KeyboardShortcutResource

java.lang.Object
  extended by com.atlassian.jira.rest.v1.keyboardshortcuts.KeyboardShortcutResource

public class KeyboardShortcutResource
extends Object

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

Since:
v4.1

Nested Class Summary
static class KeyboardShortcutResource.Shortcut
           
static class KeyboardShortcutResource.Shortcuts
           
 
Constructor Summary
KeyboardShortcutResource(KeyboardShortcutManager keyboardShortcutManager)
           
 
Method Summary
protected  List<KeyboardShortcut> getKeyboardShortcutsFor(Set<String> contextNames)
           
 javax.ws.rs.core.Response getShortCuts(Set<String> contextNames)
          Returns a JSON representation of the keyboard shortcuts requested (which always includes the global context shortcuts).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyboardShortcutResource

public KeyboardShortcutResource(KeyboardShortcutManager keyboardShortcutManager)
Method Detail

getShortCuts

public javax.ws.rs.core.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)

getKeyboardShortcutsFor

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


Copyright © 2002-2013 Atlassian. All Rights Reserved.