Interface ResourceViewUIFacet<T extends MorpheusModel>

Type Parameters:
T - The type of MorpheusModel this facet applies to
All Superinterfaces:
PluginProvider
All Known Subinterfaces:
StorageVolumeResourceViewUIFacet

public interface ResourceViewUIFacet<T extends MorpheusModel> extends PluginProvider
Provides support for custom detail entries in resource Info sections. This interface allows plugins to inject custom information into existing detail views without requiring a full tab implementation.
Since:
1.2.13
  • Method Details

    • getDetailViewInfo

      List<DetailEntry> getDetailViewInfo(T model)
      Get custom details from the plugin to render in the relevant info section
      Parameters:
      model - The model instance to get details for
      Returns:
      List of DetailEntry objects to display in the Info section
    • show

      Boolean show(T model, User user, Account account)
      Provide logic to determine when these details should be displayed. This logic is checked after permissions are validated.
      Parameters:
      model - The model instance
      user - Current User details
      account - Account details
      Returns:
      whether the details should be displayed