Interface IShortcutManager
public interface IShortcutManager
Manager that reads the configured shortcuts and can create ProjectRequests from it.
Shortcuts can be used to run Aquima projects from a simple url.
- Since:
- 8.0
- Author:
- Danny Roest
-
Method Summary
Modifier and TypeMethodDescriptionThis method returns the default project request for the default shortcut.getProjectRequest
(String shortcut) This method returns the project request for the specified shortcut.getProjectRequest
(String shortcut, boolean includePrivate) This method returns the project request for the specified shortcut.getShortcut
(String name)
-
Method Details
-
getProjectRequest
This method returns the project request for the specified shortcut.- Parameters:
shortcut
- the name of the shortcut (case sensitive)- Returns:
- the project request for the shortcut or null if the shortcut is unkown.
-
getProjectRequest
This method returns the project request for the specified shortcut.- Parameters:
shortcut
- the name of the shortcut (case sensitive)includePrivate
- boolean value indicating whether private shortcuts should be included- Returns:
- the project request for the shortcut or null if the shortcut is unkown.
-
getDefaultProjectRequest
IProjectReference getDefaultProjectRequest()This method returns the default project request for the default shortcut. If there is no shortcut configured with the default name and there is only one shortcut defined, this method returns the project request related to that shortcut.- Returns:
- the default project request or null if there is no default project request
-
getShortcutNames
-
getShortcuts
-
getShortcut
-
getDefaultShortcut
IShortcut getDefaultShortcut()
-