Interface VolumeTabProvider

All Superinterfaces:
PluginProvider, UIExtensionProvider
All Known Implementing Classes:
AbstractVolumeTabProvider

public interface VolumeTabProvider extends UIExtensionProvider
Defines the contract for providing custom tabs within a Volume in Morpheus. This can be used to display additional information about a volume, such as performance metrics, replication status, or other provider-specific details. Implementations are responsible for rendering the tab content and determining when the tab should be shown. For a base implementation that integrates with the Morpheus UI rendering framework, see AbstractVolumeTabProvider.
Since:
0.15.4
  • Method Details

    • renderTemplate

      HTMLResponse renderTemplate(StorageVolume volume)
      Volume details provided to your rendering engine
      Parameters:
      volume - details
      Returns:
      result of rendering a template
    • show

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