Interface ServerTabProvider

All Superinterfaces:
PluginProvider, UIExtensionProvider
All Known Subinterfaces:
ServerTabProvider
All Known Implementing Classes:
AbstractServerTabProvider

public interface ServerTabProvider extends UIExtensionProvider
Provides support for custom UI tabs when viewing Server details within the UI.
Since:
0.15.2
  • Method Details

    • renderTemplate

      HTMLResponse renderTemplate(ComputeServer server)
      ComputeServer details provided to your rendering engine
      Parameters:
      server - details of an Instance
      Returns:
      result of rendering an template
    • show

      Boolean show(ComputeServer server, User user, Account account)
      Provide logic when tab should be displayed. This logic is checked after permissions are validated.
      Parameters:
      server - ComputeServer details
      user - current User details
      account - Account details
      Returns:
      whether the tab should be displayed