Package com.morpheusdata.model
Class DetailEntry
java.lang.Object
com.morpheusdata.model.DetailEntry
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorDetailEntry(String fallbackLabel, String value) Constructor with fallback label and value onlyDetailEntry(String i18nLabel, String fallbackLabel, String value) Constructor with all fields -
Method Summary
-
Field Details
-
i18nLabel
The internationalized label key for this detail entry. This should be used first if i18n translation is available. -
fallbackLabel
The fallback label to use if i18n translation is not available. This will be displayed as-is if i18nLabel cannot be resolved. -
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
Constructor with all fields- Parameters:
i18nLabel- The internationalized label keyfallbackLabel- The fallback label if i18n is unavailablevalue- The value to display
-
DetailEntry
Constructor with fallback label and value only- Parameters:
fallbackLabel- The label to displayvalue- The value to display
-