Package com.morpheusdata.core.providers
Interface InstanceTabProvider
- All Superinterfaces:
PluginProvider
,UIExtensionProvider
- All Known Subinterfaces:
InstanceTabProvider
- All Known Implementing Classes:
AbstractInstanceTabProvider
Provides support for custom UI tabs when viewing Instance details
- Since:
- 0.15.1
-
Method Summary
Modifier and TypeMethodDescriptionrenderTemplate
(Instance instance) Instance details provided to your rendering engineProvide 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
Instance details provided to your rendering engine- Parameters:
instance
- 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:
instance
- Instance detailsuser
- current User detailsaccount
- Account details- Returns:
- whether the tab should be displayed
-