Class ObjectStorageControlPanel
java.lang.Object
io.micronaut.controlpanel.core.AbstractControlPanel<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 AbstractControlPanel<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 record
A 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 String
static final String
static final String
static final String
Fields inherited from class io.micronaut.controlpanel.core.AbstractControlPanel
configuration, controlPanelName
Fields 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.getBody()
Used to render the body of the control panel.ControlPanel.View
that will be used to render the body of the control panel.The category of the control panel.ControlPanel.View
that will be used to render the body of the control panel when it has been selected.getIcon()
Icon CSS class of the card UI element.getName()
getTitle()
The title is displayed in the header of the card UI element.Methods inherited from class io.micronaut.controlpanel.core.AbstractControlPanel
getOrder, isEnabled
-
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
-
getBody
Description copied from interface:ControlPanel
Used to render the body of the control panel.- Returns:
- the body of the control panel.
-
getTitle
Description copied from interface:ConfigurableControlPanel
The title is displayed in the header of the card UI element.- Specified by:
getTitle
in interfaceConfigurableControlPanel
- Overrides:
getTitle
in classAbstractControlPanel<ObjectStorageControlPanel.Body>
- Returns:
- the title of the control panel.
-
getName
- Specified by:
getName
in interfaceio.micronaut.core.naming.Named
- Overrides:
getName
in classAbstractControlPanel<ObjectStorageControlPanel.Body>
-
getBodyView
Description copied from interface:ControlPanel
ControlPanel.View
that will be used to render the body of the control panel.- Returns:
- the view of the control panel.
-
getDetailedView
Description copied from interface:ControlPanel
ControlPanel.View
that will be used to render the body of the control panel when it has been selected.- Returns:
- the view of the control panel.
-
getBadge
Description copied from interface:ControlPanel
Badge 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:ConfigurableControlPanel
Icon CSS class of the card UI element.- Specified by:
getIcon
in interfaceConfigurableControlPanel
- Overrides:
getIcon
in classAbstractControlPanel<ObjectStorageControlPanel.Body>
- Returns:
- the icon class of the control panel.
-
getCategory
Description copied from interface:ControlPanel
The category of the control panel.- Returns:
- the category of the control panel.
-