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 Summary
Modifier 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
- 
canRefresh
public 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 endpointbeanContext- the bean context- Returns:
 - true if the endpoint can be called, false otherwise
 
 - 
canStop
public 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 endpointbeanContext- the bean context- Returns:
 - true if the endpoint can be called, false otherwise
 
 
 -