Package com.morpheusdata.core.providers
Interface ServerTabProvider
- All Superinterfaces:
PluginProvider
,UIExtensionProvider
- All Known Subinterfaces:
ServerTabProvider
- All Known Implementing Classes:
AbstractServerTabProvider
Provides support for custom UI tabs when viewing Server details within the UI.
- Since:
- 0.15.2
-
Method Summary
Modifier and TypeMethodDescriptionrenderTemplate
(ComputeServer server) ComputeServer details provided to your rendering engineshow
(ComputeServer server, User user, Account account) Provide logic when tab should be displayed.Methods inherited from interface com.morpheusdata.core.providers.PluginProvider
getCode, getMorpheus, getName, getPlugin, isPlugin
Methods inherited from interface com.morpheusdata.core.providers.UIExtensionProvider
getContentSecurityPolicy, getRenderer
-
Method Details
-
renderTemplate
ComputeServer details provided to your rendering engine- Parameters:
server
- details of an Instance- Returns:
- result of rendering an template
-
show
Provide logic when tab should be displayed. This logic is checked after permissions are validated.- Parameters:
server
- ComputeServer detailsuser
- current User detailsaccount
- Account details- Returns:
- whether the tab should be displayed
-