Package io.micronaut.controlpanel.ui
Class ControlPanelController
java.lang.Object
io.micronaut.controlpanel.ui.ControlPanelController
- All Implemented Interfaces:
ControlPanelApi
@Controller("${micronaut.control-panel.path:/control-panel}")
@ExecuteOn("blocking")
public class ControlPanelController
extends Object
implements ControlPanelApi
Control panel web controller to render the UI.
- Since:
- 1.0.0
- Author:
- Álvaro Sánchez-Mariscal
-
Field Summary
Fields inherited from interface io.micronaut.controlpanel.ui.ControlPanelApi
PATH
-
Constructor Summary
ConstructorDescriptionControlPanelController
(ControlPanelRepository repository, io.micronaut.context.BeanContext beanContext, @Nullable io.micronaut.management.endpoint.refresh.RefreshEndpoint refreshEndpoint, @Nullable io.micronaut.management.endpoint.stop.ServerStopEndpoint stopEndpoint) -
Method Summary
-
Constructor Details
-
ControlPanelController
public ControlPanelController(ControlPanelRepository repository, io.micronaut.context.BeanContext beanContext, @Nullable @Nullable io.micronaut.management.endpoint.refresh.RefreshEndpoint refreshEndpoint, @Nullable @Nullable io.micronaut.management.endpoint.stop.ServerStopEndpoint stopEndpoint)
-
-
Method Details
-
index
Description copied from interface:ControlPanelApi
Renders the index view.- Specified by:
index
in interfaceControlPanelApi
- Returns:
- the model
-
byCategory
Description copied from interface:ControlPanelApi
Renders the category view.- Specified by:
byCategory
in interfaceControlPanelApi
- Parameters:
categoryId
- the category id.- Returns:
- the model
-
detail
Description copied from interface:ControlPanelApi
Renders the control panel detailed view.- Specified by:
detail
in interfaceControlPanelApi
- Parameters:
controlPanelName
- the control panel name.- Returns:
- the model
-