Package com.morpheusdata.core
Interface NetworkTabProvider
-
- All Superinterfaces:
PluginProvider
,UIExtensionProvider
- All Known Implementing Classes:
AbstractNetworkTabProvider
public interface NetworkTabProvider extends UIExtensionProvider
Renders tabs for networks. This could be useful if , for example a custom integration for network providers was made for NSX or ACI. It may be beneficial to render an additional tab on network details that would provide useful information
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HTMLResponse
renderTemplate(Network network)
Network details provided to your rendering enginejava.lang.Boolean
show(Network network, User user, Account account)
Provide logic when tab should be displayed.-
Methods inherited from interface com.morpheusdata.core.PluginProvider
getCode, getMorpheus, getName, getPlugin, isPlugin
-
Methods inherited from interface com.morpheusdata.core.UIExtensionProvider
getContentSecurityPolicy, getRenderer
-
-
-
-
Method Detail
-
renderTemplate
HTMLResponse renderTemplate(Network network)
Network details provided to your rendering engine- Parameters:
network
- details- Returns:
- result of rendering a template
-
show
java.lang.Boolean show(Network network, User user, Account account)
Provide logic when tab should be displayed. This logic is checked after permissions are validated.- Parameters:
network
- Network detailsuser
- current User detailsaccount
- Account details- Returns:
- whether the tab should be displayed
-
-