public class ReadinessStateChangedEvent extends ApplicationEvent
ApplicationEvent sent when the ReadinessState of the application
changes.
Any application component can send such events to update the state of the application.
source| 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. |
getTimestampgetSource, toStringpublic ReadinessState getReadinessState()
public static ReadinessStateChangedEvent ready()
ApplicationEvent signaling that the ReadinessState is
ready.public static ReadinessStateChangedEvent unready()
ApplicationEvent signaling that the ReadinessState is
unready.