public class NodeHotKeyStorage extends Object
Modifier and Type | Class and Description |
---|---|
static class |
NodeHotKeyStorage.Hotkey |
Constructor and Description |
---|
NodeHotKeyStorage() |
Modifier and Type | Method and Description |
---|---|
NodeHotKeyStorage.Hotkey |
getHotkeyFor(UUID compartment,
UUID id) |
Map<String,Map<NodeHotKeyStorage.Hotkey,String>> |
getHotkeys() |
static NodeHotKeyStorage |
getInstance(JIPipeGraph graph) |
String |
getNodeForHotkey(NodeHotKeyStorage.Hotkey hotkey,
UUID compartment) |
void |
renameCompartments(Map<String,String> renamingMap)
Renames the internal compartment mappings
|
void |
renameNodeIds(Map<String,String> renamingMap)
Renames a node to another Id
|
void |
setHotkey(UUID compartment,
UUID nodeId,
NodeHotKeyStorage.Hotkey hotkey) |
void |
setHotkeys(Map<String,Map<NodeHotKeyStorage.Hotkey,String>> hotkeys) |
public static NodeHotKeyStorage getInstance(JIPipeGraph graph)
public void renameNodeIds(Map<String,String> renamingMap)
renamingMap
- map from old to new valuepublic void setHotkey(UUID compartment, UUID nodeId, NodeHotKeyStorage.Hotkey hotkey)
public void renameCompartments(Map<String,String> renamingMap)
renamingMap
- map from old to new valuepublic String getNodeForHotkey(NodeHotKeyStorage.Hotkey hotkey, UUID compartment)
public Map<String,Map<NodeHotKeyStorage.Hotkey,String>> getHotkeys()
public void setHotkeys(Map<String,Map<NodeHotKeyStorage.Hotkey,String>> hotkeys)
public NodeHotKeyStorage.Hotkey getHotkeyFor(UUID compartment, UUID id)
Copyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.