Class EndpointUtils
java.lang.Object
io.micronaut.controlpanel.ui.util.EndpointUtils
Utility methods for 
Endpoint.- Since:
- 1.0.0
- Author:
- Álvaro Sánchez-Mariscal
- 
Method SummaryModifier and TypeMethodDescriptionstatic booleancanRefresh(@Nullable io.micronaut.management.endpoint.refresh.RefreshEndpoint endpoint, io.micronaut.context.BeanContext beanContext) Determines if the control panel can call the refresh endpoint.static booleancanStop(@Nullable io.micronaut.management.endpoint.stop.ServerStopEndpoint endpoint, io.micronaut.context.BeanContext beanContext) Determines if the control panel can call the stop endpoint.
- 
Method Details- 
canRefreshpublic static boolean canRefresh(@Nullable @Nullable io.micronaut.management.endpoint.refresh.RefreshEndpoint endpoint, io.micronaut.context.BeanContext beanContext) Determines if the control panel can call the refresh endpoint.- Parameters:
- endpoint- the endpoint
- beanContext- the bean context
- Returns:
- true if the endpoint can be called, false otherwise
 
- 
canStoppublic static boolean canStop(@Nullable @Nullable io.micronaut.management.endpoint.stop.ServerStopEndpoint endpoint, io.micronaut.context.BeanContext beanContext) Determines if the control panel can call the stop endpoint.- Parameters:
- endpoint- the endpoint
- beanContext- the bean context
- Returns:
- true if the endpoint can be called, false otherwise
 
 
-