Class DetailEntry

java.lang.Object
com.morpheusdata.model.DetailEntry

public class DetailEntry extends Object
Represents a single detail entry that can be displayed in the Info section of a resource view. This allows plugins to inject custom information into existing detail views without requiring a full tab implementation.
Since:
1.2.13
  • Field Details

    • i18nLabel

      public String i18nLabel
      The internationalized label key for this detail entry. This should be used first if i18n translation is available.
    • fallbackLabel

      public String fallbackLabel
      The fallback label to use if i18n translation is not available. This will be displayed as-is if i18nLabel cannot be resolved.
    • value

      public String value
      The value to display for this detail entry. This will be rendered as a string in the UI.
  • Constructor Details

    • DetailEntry

      public DetailEntry()
      Default constructor
    • DetailEntry

      public DetailEntry(String i18nLabel, String fallbackLabel, String value)
      Constructor with all fields
      Parameters:
      i18nLabel - The internationalized label key
      fallbackLabel - The fallback label if i18n is unavailable
      value - The value to display
    • DetailEntry

      public DetailEntry(String fallbackLabel, String value)
      Constructor with fallback label and value only
      Parameters:
      fallbackLabel - The label to display
      value - The value to display