Class ObjectStorageControlPanel
java.lang.Object
io.micronaut.controlpanel.core.AbstractControlPanel<ObjectStorageControlPanel.Body>
io.micronaut.controlpanel.core.AbstractEachBeanControlPanel<ObjectStorageControlPanel.Body>
io.micronaut.controlpanel.panels.objectstorage.ObjectStorageControlPanel
- All Implemented Interfaces:
ConfigurableControlPanel,ControlPanel<ObjectStorageControlPanel.Body>,io.micronaut.core.naming.Named,io.micronaut.core.order.Ordered,io.micronaut.core.util.Toggleable
@EachBean(io.micronaut.objectstorage.configuration.AbstractObjectStorageConfiguration.class)
public class ObjectStorageControlPanel
extends AbstractEachBeanControlPanel<ObjectStorageControlPanel.Body>
A control panel for managing object storage.
This control panel provides a user interface for viewing and managing object storage entries.
It is configured using an
AbstractObjectStorageConfiguration instance.- Since:
- 1.10.0
- Author:
- Álvaro Sánchez-Mariscal
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordA record representing the body of this control panel, containing a list of object storage entries and metadata.Nested classes/interfaces inherited from interface io.micronaut.controlpanel.core.ControlPanel
ControlPanel.Category, ControlPanel.View -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class io.micronaut.controlpanel.core.AbstractControlPanel
configuration, controlPanelNameFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionObjectStorageControlPanel(io.micronaut.objectstorage.ObjectStorageOperations<?, ?, ?> operations, io.micronaut.objectstorage.configuration.AbstractObjectStorageConfiguration objectStorageConfiguration, ControlPanelConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptiongetBadge()Badge text to be displayed in the header of the card UI element.protected StringReturns the name of the bean this control panel represents.getBody()Used to render the body of the control panel.The category of the control panel.getIcon()Icon CSS class of the card UI element.protected StringReturns the name of the panel category.Methods inherited from class io.micronaut.controlpanel.core.AbstractEachBeanControlPanel
getBodyView, getDetailedView, getName, getTitleMethods inherited from class io.micronaut.controlpanel.core.AbstractControlPanel
getOrder, isEnabledMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.controlpanel.core.ControlPanel
hasDetails
-
Field Details
-
NAME
- See Also:
-
ENABLED_PROPERTY
- See Also:
-
DEFAULT_ICON_CLASS
- See Also:
-
BUCKET
- See Also:
-
-
Constructor Details
-
ObjectStorageControlPanel
public ObjectStorageControlPanel(@Parameter io.micronaut.objectstorage.ObjectStorageOperations<?, ?, ?> operations, @Parameter io.micronaut.objectstorage.configuration.AbstractObjectStorageConfiguration objectStorageConfiguration, @Named("object-storage") ControlPanelConfiguration configuration)
-
-
Method Details
-
getBeanName
Description copied from class:AbstractEachBeanControlPanelReturns the name of the bean this control panel represents.- Specified by:
getBeanNamein classAbstractEachBeanControlPanel<ObjectStorageControlPanel.Body>- Returns:
- the bean name
-
getPanelName
Description copied from class:AbstractEachBeanControlPanelReturns the name of the panel category.- Specified by:
getPanelNamein classAbstractEachBeanControlPanel<ObjectStorageControlPanel.Body>- Returns:
- the panel name
-
getBody
Description copied from interface:ControlPanelUsed to render the body of the control panel.- Returns:
- the body of the control panel.
-
getBadge
Description copied from interface:ControlPanelBadge text to be displayed in the header of the card UI element.- Returns:
- the badge text of the control panel.
-
getIcon
Description copied from interface:ConfigurableControlPanelIcon CSS class of the card UI element.- Specified by:
getIconin interfaceConfigurableControlPanel- Overrides:
getIconin classAbstractControlPanel<ObjectStorageControlPanel.Body>- Returns:
- the icon class of the control panel.
-
getCategory
Description copied from interface:ControlPanelThe category of the control panel.- Returns:
- the category of the control panel.
-