Package com.morpheusdata.core.providers
Interface VolumeTabProvider
- All Superinterfaces:
PluginProvider,UIExtensionProvider
- All Known Implementing Classes:
AbstractVolumeTabProvider
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.morpheusdata.core.providers.PluginProvider
PluginProvider.ConfigurationDriftCheckFacet<T>, PluginProvider.EventSubscriberFacet<E extends Event>, PluginProvider.UpdateFacet<T> -
Method Summary
Modifier and TypeMethodDescriptionrenderTemplate(StorageVolume volume) Volume details provided to your rendering engineshow(StorageVolume volume, User user, Account account) Provide logic when tab should be displayed.Methods inherited from interface com.morpheusdata.core.providers.PluginProvider
getCode, getMorpheus, getName, getPluginMethods inherited from interface com.morpheusdata.core.providers.UIExtensionProvider
getContentSecurityPolicy, getRenderer
-
Method Details
-
renderTemplate
Volume details provided to your rendering engine- Parameters:
volume- details- Returns:
- result of rendering a template
-
show
Provide logic when tab should be displayed. This logic is checked after permissions are validated.- Parameters:
volume- Volume detailsuser- current User detailsaccount- Account details- Returns:
- whether the tab should be displayed
-