Enum Class SystemdProperties.ReadyEvent
java.lang.Object
java.lang.Enum<SystemdProperties.ReadyEvent>
com.github.jpmsilva.jsystemd.spring.autoconfigure.SystemdProperties.ReadyEvent
- All Implemented Interfaces:
Serializable,Comparable<SystemdProperties.ReadyEvent>,Constable
- Enclosing class:
- SystemdProperties
The event on which systemd is told that the application is ready, with
Systemd.ready(). Until then, systemd considers the service as starting
up, enforcing its startup timeout, and units ordered after it wait for it.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOnce the application accepts traffic (ReadinessState.ACCEPTING_TRAFFIC), after itsApplicationRunnerandCommandLineRunnerbeans have run.Once the application has started, as soon as its application context is refreshed, before itsApplicationRunnerandCommandLineRunnerbeans run, for runners that run for long, or never end. -
Method Summary
Modifier and TypeMethodDescriptionstatic SystemdProperties.ReadyEventReturns the enum constant of this class with the specified name.static SystemdProperties.ReadyEvent[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACCEPTING_TRAFFIC
Once the application accepts traffic (ReadinessState.ACCEPTING_TRAFFIC), after itsApplicationRunnerandCommandLineRunnerbeans have run. -
APPLICATION_STARTED
Once the application has started, as soon as its application context is refreshed, before itsApplicationRunnerandCommandLineRunnerbeans run, for runners that run for long, or never end.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-