Enum Class DockerComposeProperties.Readiness.Wait
java.lang.Object
java.lang.Enum<DockerComposeProperties.Readiness.Wait>
org.springframework.boot.docker.compose.lifecycle.DockerComposeProperties.Readiness.Wait
- All Implemented Interfaces:
Serializable
,Comparable<DockerComposeProperties.Readiness.Wait>
,Constable
- Enclosing class:
- DockerComposeProperties.Readiness
public static enum DockerComposeProperties.Readiness.Wait
extends Enum<DockerComposeProperties.Readiness.Wait>
Readiness wait strategies.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAlways perform readiness checks.Never perform readiness checks.Only perform readiness checks if docker was started with lifecycle management. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALWAYS
Always perform readiness checks. -
NEVER
Never perform readiness checks. -
ONLY_IF_STARTED
Only perform readiness checks if docker was started with lifecycle management.
-
-
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
-