public interface ShortcutLinksManager
| Modifier and Type | Method and Description |
|---|---|
void |
addShortcutLink(String key,
ShortcutLinkConfig expandedValue) |
ShortcutLinkConfig |
getShortcutLinkConfig(String key) |
Map<String,ShortcutLinkConfig> |
getShortcutLinks() |
boolean |
hasShortcutLink(String key) |
void |
removeShortcutLink(String key) |
String |
resolveDefaultLinkAlias(String key,
String parameter)
Resolves default alias.
|
String |
resolveShortcutUrl(String key,
String parameter)
Resolves shortcut url.
|
void |
updateShortcutLinks(Map shortcutLinks) |
Map<String,ShortcutLinkConfig> getShortcutLinks()
void updateShortcutLinks(Map shortcutLinks)
void addShortcutLink(String key, ShortcutLinkConfig expandedValue)
void removeShortcutLink(String key)
boolean hasShortcutLink(String key)
ShortcutLinkConfig getShortcutLinkConfig(String key)
String resolveShortcutUrl(String key, String parameter)
key - the shortcut keyparameter - parameter to substitute into shortcutIllegalArgumentException - if key does not exist. Call #hasShortcutLink() first.String resolveDefaultLinkAlias(String key, String parameter)
key - the shortcut keyparameter - parameter to substitute into alias (if it has a variable)IllegalArgumentException - if key does not exist. Call #hasShortcutLink() first.Copyright © 2003–2022 Atlassian. All rights reserved.