@Generated(value="jsii-pacmak/1.14.1 (build 828de8a)", date="2020-11-24T22:29:47.670Z") @Stability(value=Stable) public enum ContainerDependencyCondition extends Enum<ContainerDependencyCondition>
Enum Constant and Description |
---|
COMPLETE
This condition validates that a dependent container runs to completion (exits) before permitting other containers to start.
|
HEALTHY
This condition validates that the dependent container passes its Docker health check before permitting other containers to start.
|
START
This condition emulates the behavior of links and volumes today.
|
SUCCESS
This condition is the same as COMPLETE, but it also requires that the container exits with a zero status.
|
Modifier and Type | Method and Description |
---|---|
static ContainerDependencyCondition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContainerDependencyCondition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final ContainerDependencyCondition START
It validates that a dependent container is started before permitting other containers to start.
@Stability(value=Stable) public static final ContainerDependencyCondition COMPLETE
This can be useful for nonessential containers that run a script and then exit.
@Stability(value=Stable) public static final ContainerDependencyCondition SUCCESS
@Stability(value=Stable) public static final ContainerDependencyCondition HEALTHY
This requires that the dependent container has health checks configured. This condition is confirmed only at task startup.
public static ContainerDependencyCondition[] values()
for (ContainerDependencyCondition c : ContainerDependencyCondition.values()) System.out.println(c);
public static ContainerDependencyCondition valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020. All rights reserved.