public class ReadinessStateChangedEvent
extends org.springframework.context.ApplicationEvent
ApplicationEvent sent when the ReadinessState of the application
changes.
Any application component can send such events to update the state of the application.
| Modifier and Type | Method and Description |
|---|---|
ReadinessState |
getReadinessState() |
static ReadinessStateChangedEvent |
ready()
Create a new
ApplicationEvent signaling that the ReadinessState is
ready. |
static ReadinessStateChangedEvent |
unready()
Create a new
ApplicationEvent signaling that the ReadinessState is
unready. |
public ReadinessState getReadinessState()
public static ReadinessStateChangedEvent ready()
ApplicationEvent signaling that the ReadinessState is
ready.public static ReadinessStateChangedEvent unready()
ApplicationEvent signaling that the ReadinessState is
unready.